Nonspecific exception thrown from OMText.getDataHandler()
---------------------------------------------------------

                 Key: AXIOM-414
                 URL: https://issues.apache.org/jira/browse/AXIOM-414
             Project: Axiom
          Issue Type: Improvement
          Components: API
    Affects Versions: 1.2.10
            Reporter: James Grahn
            Priority: Minor


Calls to OMText.getDataHandler() may return with RuntimeException("ContentId is 
null").

If the thrown exception were more specific, receiving catch statements could be 
narrower.

The API needn't be changed if OMText.getDataHandler() instead throws an 
appropriate subclass of RuntimeException (possibly OMException with the same 
message or else another subclass).

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