You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Andreas Veithen (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/28 23:13:30 UTC

[jira] [Resolved] (AXIOM-414) Nonspecific exception thrown from OMText.getDataHandler()

     [ https://issues.apache.org/jira/browse/AXIOM-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIOM-414.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.13

The code throwing this exception no longer exists (see r1207662).
                
> 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
>              Labels: exception
>             Fix For: 1.2.13
>
>
> 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