Daniel Barclay wrote:
Class org.apache.ws.jaxme.xs.parser.impl.LocSAXException (or a some superclass) does not include the class name in the result of toString().
Since the normal toString() behavior is to include the class name (the Throwable.toString() does that and virtually every exception class leaves that behavior intact), suppressing the class name is non-standard, confusing, and simply bad.
Note that besides overriding the default toString() with prepends the class name, the overridding toString() seems does not include the full contents of getMessage():
e.toString() = java.lang.IllegalStateException: The builtin type {http://www.w3.org/2001/XMLSchema}anyType does not have an inner instance of XsComplexContentType.
e.getMessage() = At someScheme://x/whatever, line 1, column 460: java.lang.IllegalStateException: The builtin type {http://www.w3.org/2001/XMLSchema}anyType does not have an inner instance of XsComplexContentType.
Daniel
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]