[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-dev
Subject:    [jira] [Created] (AXIOM-414) Nonspecific exception thrown from OMText.getDataHandler()
From:       "James Grahn (Created) (JIRA)" <jira () apache ! org>
Date:       2012-03-26 17:34:28
Message-ID: 1916703546.18233.1332783268379.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]

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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic