[seam-issues] [JBoss JIRA] Commented: (SEAMCATCH-19) Provide a way to rethrow a different exception
Dan Allen (JIRA)
jira-events at lists.jboss.org
Wed Dec 8 16:50:31 EST 2010
[ https://jira.jboss.org/browse/SEAMCATCH-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568786#comment-12568786 ]
Dan Allen commented on SEAMCATCH-19:
------------------------------------
The API I propose for this is:
CaughtException#rethrow(Throwable t)
This says "rethrow the exception, but use this one in place of the original"
> Provide a way to rethrow a different exception
> -----------------------------------------------
>
> Key: SEAMCATCH-19
> URL: https://jira.jboss.org/browse/SEAMCATCH-19
> Project: Seam Catch
> Issue Type: Feature Request
> Components: Core API
> Affects Versions: Alpha2
> Reporter: Dan Allen
> Assignee: Jason Porter
> Priority: Minor
> Fix For: Alpha3
>
>
> As an alternative to allowing a handler to rethrow the original exception, Catch should allow a handler to specify a different exception to throw. This may be a more informative exception, yet should still be rethrown outside of Catch.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list