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
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]