commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27747] - [configuration] ClassCastException not thrown by getBoolean()
Date Sun, 13 Jun 2004 13:34:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27747>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27747

[configuration] ClassCastException not thrown by getBoolean()





------- Additional Comments From epugh@upstate.com  2004-06-13 13:34 -------
I think this sounds reasonable..  Typically, if a conversion doesn't happen,
people don't care about the nitty gritty details, they just want to know it
couldn't convert!  I see this typically happening in a dynamic environment where
someone might put in a value as a string and request it as a different datatype
due to missunderstanding what was to go in..  I think it should extend
ConfigurationRuntimeException, as that highlights that it is a Configuration
sublcass of RuntimeException!  

Then, if you needed the specific reason, you could read it..

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message