[jdom-interest] DataConversionException javadoc and other issues
Bradley S. Huffman
hip at a.cs.okstate.edu
Sun May 4 12:40:38 PDT 2003
Elliotte Rusty Harold writes:
> Last May, Jason objected that NumberFormatException was inappropriate
> for getBooleanValue. There's no BooleanFormatException. The
> java.lang.Boolean class interprets all non-true strings as false. I
> don't think we should go that far, but even if we keep
> DataConversionException the JavaDoc needs to be fixed.
IMHO, there should be only String getValue(). Wasn't it at about the same
time there was a thread about getFormatDate() and other convenience *Value()
methods which lead to the obvious question/discussion where do you stop with
the get*Value() methods.
Brad
More information about the jdom-interest
mailing list