[ mx4j-Bugs-858188 ] GaugeMonitor setThresholds wrong error message
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #858188, was opened at 2003-12-11 11:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=858188&group_id=47745
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Noah Body (sherington)
Assigned to: Nobody/Anonymous (nobody)
Summary: GaugeMonitor setThresholds wrong error message
Initial Comment:
In GaugeMonitor.java, setThresholds line 284 (beta 1 release):
if (highValue.doubleValue() < lowValue.doubleValue())
{
throw new IllegalArgumentException("Threshold need to be of the same class");
}
The error message is misleading, should obviously be something like "Low threshold value must be lower than high threshold value".
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=858188&group_id=47745
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click