[ 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 12:13
Message generated for change (Comment added) made by biorn_steedom
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=858188&group_id=47745
>Category: JMX implementation
>Group: Release 2.0.0
>Status: Closed
>Resolution: Fixed
>Priority: 1
Submitted By: Noah Body (sherington)
>Assigned to: Simone Bordet (biorn_steedom)
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".
----------------------------------------------------------------------
>Comment By: Simone Bordet (biorn_steedom)
Date: 2003-12-14 00:18
Message:
Logged In: YES
user_id=128193
Thanks, it's fixed now
----------------------------------------------------------------------
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