Package jakarta.faces.context
Class ExceptionHandlerWrapper
- java.lang.Object
-
- jakarta.faces.context.ExceptionHandler
-
- jakarta.faces.context.ExceptionHandlerWrapper
-
- All Implemented Interfaces:
FacesListener,SystemEventListener,FacesWrapper<ExceptionHandler>,EventListener
public abstract class ExceptionHandlerWrapper extends ExceptionHandler implements FacesWrapper<ExceptionHandler>
- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description ExceptionHandlerWrapper()Deprecated.ExceptionHandlerWrapper(ExceptionHandler delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionQueuedEventgetHandledExceptionQueuedEvent()Iterable<ExceptionQueuedEvent>getHandledExceptionQueuedEvents()ThrowablegetRootCause(Throwable t)Iterable<ExceptionQueuedEvent>getUnhandledExceptionQueuedEvents()ExceptionHandlergetWrapped()A class that implements this interface uses this method to return an instance of the class being wrapped.voidhandle()booleanisListenerForSource(Object source)voidprocessEvent(SystemEvent exceptionQueuedEvent)
-
-
-
Constructor Detail
-
ExceptionHandlerWrapper
@Deprecated public ExceptionHandlerWrapper()
Deprecated.
-
ExceptionHandlerWrapper
public ExceptionHandlerWrapper(ExceptionHandler delegate)
-
-
Method Detail
-
getHandledExceptionQueuedEvent
public ExceptionQueuedEvent getHandledExceptionQueuedEvent()
- Specified by:
getHandledExceptionQueuedEventin classExceptionHandler
-
getHandledExceptionQueuedEvents
public Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
- Specified by:
getHandledExceptionQueuedEventsin classExceptionHandler
-
getRootCause
public Throwable getRootCause(Throwable t)
- Specified by:
getRootCausein classExceptionHandler
-
getUnhandledExceptionQueuedEvents
public Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
- Specified by:
getUnhandledExceptionQueuedEventsin classExceptionHandler
-
getWrapped
public ExceptionHandler getWrapped()
Description copied from interface:FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.- Specified by:
getWrappedin interfaceFacesWrapper<ExceptionHandler>- Returns:
- the instance of the class being wrapped
-
handle
public void handle() throws FacesException- Specified by:
handlein classExceptionHandler- Throws:
FacesException
-
isListenerForSource
public boolean isListenerForSource(Object source)
- Specified by:
isListenerForSourcein interfaceSystemEventListener- Specified by:
isListenerForSourcein classExceptionHandler
-
processEvent
public void processEvent(SystemEvent exceptionQueuedEvent) throws AbortProcessingException
- Specified by:
processEventin interfaceSystemEventListener- Specified by:
processEventin classExceptionHandler- Throws:
AbortProcessingException
-
-