[ https://issues.apache.org/jira/browse/GERONIMO-6394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated GERONIMO-6394: ---------------------------------- Attachment: patch.txt > saaj factories swollow the exceptions > ------------------------------------- > > Key: GERONIMO-6394 > URL: https://issues.apache.org/jira/browse/GERONIMO-6394 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: specs > Reporter: Daniel Kulp > Attachments: patch.txt > > > The various factories in the SAAJ specs jar do something like: > {code} > throw new SOAPException(exception.getMessage()); > {code} > which causes just the message to propagate and not the full exception. If > the cause is something like an NPE, it's very hard to diagnose and fix. > Would suggest using: > {code} > throw new SOAPException(exception.getMessage(), exception); > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira