You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Shelan Perera (Commented) (JIRA)" <ji...@apache.org> on 2012/03/30 07:00:45 UTC

[jira] [Commented] (AXIOM-409) Exception chaining not handled properly causing missing information

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

Shelan Perera commented on AXIOM-409:
-------------------------------------

Please apply this patch to modules/axiom-impl
                
> 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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org