@ApplicationScoped public class ExceptionHandlerDispatch extends Object
ExceptionToCatchEvent events and
handler dispatcher. All handlers are invoked from this class. This class is immutable.| Constructor and Description |
|---|
ExceptionHandlerDispatch() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeHandlers(org.apache.deltaspike.core.api.exception.control.event.ExceptionToCatchEvent exceptionEventEvent,
javax.enterprise.inject.spi.BeanManager beanManager)
Observes the event, finds the correct exception handler(s) and invokes them.
|
public void executeHandlers(@Observes@Any
org.apache.deltaspike.core.api.exception.control.event.ExceptionToCatchEvent exceptionEventEvent,
javax.enterprise.inject.spi.BeanManager beanManager)
throws Throwable
exceptionEventEvent - exception to be invokedbeanManager - active bean managerThrowable - If a handler requests the exception to be re-thrown.Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.