Can you just use initCause() ? -Justin
Jesse Eichar (JIRA) wrote: > XML Parser exception reporting is too terse. > -------------------------------------------- > > Key: GEOT-955 > URL: http://jira.codehaus.org/browse/GEOT-955 > Project: GeoTools > Issue Type: Improvement > Components: core xml > Affects Versions: 2.2.0 > Reporter: Jesse Eichar > Assigned To: Jesse Eichar > Priority: Minor > Fix For: 2.2.1 > > > Right now all exceptions by the XML parser are wrapped by a SAX Exception. > Because Java 1.4 is used only the message, not the stack trace is not > reported. I suggest logging the stack trace so that it is retrievable. Also > I would like to throw RuntimeExceptions since they should be bugs with the > code not with the xml. > -- Justin Deoliveira [EMAIL PROTECTED] The Open Planning Project http://topp.openplans.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
