[SAX] setProperty and exception
XMLReader#setProperty can throw two types of exceptions. One is "not-recognized" and the other is "not-supported". But it seems to me that we need the third "bad-value" exception, which indicates that the property name is recognized and supported but the specified value is wrong. (For example, String is passed where Integer is expected, or 127 was passed where the valid value is between 0 and 100.) What is the right exception to throw for cases like this? regards, ---------------------- K.Kawaguchi E-Mail: kohsukekawaguchi@y...
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format