[ 
https://issues.apache.org/jira/browse/AXIOM-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242086#comment-13242086
 ] 

Amila Chinthaka Suriarachchi commented on AXIOM-409:
----------------------------------------------------

applied the patch revision 1307280
                
> Exception chaining not handled properly causing missing information
> -------------------------------------------------------------------
>
>                 Key: AXIOM-409
>                 URL: https://issues.apache.org/jira/browse/AXIOM-409
>             Project: Axiom
>          Issue Type: Improvement
>            Reporter: Shelan Perera
>            Priority: Minor
>         Attachments: exception-chaining-1.1.patch, exception-chaining.patch
>
>
> As an example
> catch (XMLStreamException e) {
>             log.error("Could not get parser from data source for element " +
>                     getPrintableName(), e);
>             throw new RuntimeException("Error obtaining parser from data 
> source:" + e.getMessage() );
>         }
> without using which will preserve information for later usage
>    throw new RuntimeException("Error obtaining parser from data source", e );

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to