geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] [Created] (GERONIMO-6394) saaj factories swollow the exceptions
Date Tue, 02 Oct 2012 14:57:07 GMT
Daniel Kulp created GERONIMO-6394:

             Summary: saaj factories swollow the exceptions
                 Key: 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:
throw new SOAPException(exception.getMessage());

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:

throw new SOAPException(exception.getMessage(), exception);

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:

View raw message