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

Mark Struberg reassigned DELTASPIKE-165:
----------------------------------------

    Assignee: Jason Porter  (was: Mark Struberg)

Jason, is this still valid and needed?
                
> Exception handlers: support handling unexpected exceptions
> ----------------------------------------------------------
>
>                 Key: DELTASPIKE-165
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-165
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: ExceptionControl-Module
>            Reporter: Ivo Maixner
>            Assignee: Jason Porter
>
> Provide a way to handle exceptions not handled by any other handler.
> Currently, a handler like this:
> public void unexpectedException(@Handles CaughtException<Throwable> event) {
>  if (!event.isMarkedHandled()) {
>   log.error("Unexpected exception", event.getException());
>   messages.error(new BundleKey(MESSAGE_BUNDLE, "unexpected.exception"));
>  }
> }
> gets in the way when there are other handlers which respond to non-root-cause 
> exceptions.
> Some ideas:
> - an UnhandledException event fired as a last chance to handle it before 
> re-throwing it as unhandled
> - a third traversal type - after BREADTH_FIRST and DEPTH_FIRST
> See https://community.jboss.org/thread/198408

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

Reply via email to