[ 
https://issues.apache.org/jira/browse/DIGESTER-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simone Tripodi closed DIGESTER-85.
----------------------------------


included in Apache Commons Digester 3.0 release

> [digester] Include filename or uri if Digester.parse(File file or String uri 
> throws a SAXException
> --------------------------------------------------------------------------------------------------
>
>                 Key: DIGESTER-85
>                 URL: https://issues.apache.org/jira/browse/DIGESTER-85
>             Project: Commons Digester
>          Issue Type: Improvement
>         Environment: Operating System: All
> Platform: All
>            Reporter: Erik Meade
>            Assignee: Simone Tripodi
>            Priority: Minor
>             Fix For: 3.0
>
>
> Would make debugging easier.
> A try catch SAXException block around the getXMLReader().parse(input);  
> statements in the parse 
> File and parse(String  would allow the SAX Exception to be caught, taken 
> apart, an error statement 
> with file or uri added, and thrown.
> But how to capture the first stack trace?  Use NestedExceptions from 
> jakarta-commons-lang?  Use
> org.apache.commons.lang.exception.ExceptionUtils.getStackTrace and and cram 
> the first stack
> trace in the with new SAXExceptions?  Or avoid the new dependecy on lang and 
> do something 
> else?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to