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 (JIRA)" <ji...@apache.org> on 2013/05/12 11:59:15 UTC
[jira] [Updated] (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 updated AXIOM-414:
----------------------------------
Labels: (was: exception)
> 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
> 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
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