Package jakarta.faces.context
Class ExceptionHandler
- java.lang.Object
-
- jakarta.faces.context.ExceptionHandler
-
- All Implemented Interfaces:
FacesListener,SystemEventListener,EventListener
- Direct Known Subclasses:
ExceptionHandlerWrapper
public abstract class ExceptionHandler extends Object implements SystemEventListener
- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description ExceptionHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ExceptionQueuedEventgetHandledExceptionQueuedEvent()abstract Iterable<ExceptionQueuedEvent>getHandledExceptionQueuedEvents()abstract ThrowablegetRootCause(Throwable t)abstract Iterable<ExceptionQueuedEvent>getUnhandledExceptionQueuedEvents()abstract voidhandle()abstract booleanisListenerForSource(Object source)abstract voidprocessEvent(SystemEvent exceptionQueuedEvent)
-
-
-
Method Detail
-
getHandledExceptionQueuedEvent
public abstract ExceptionQueuedEvent getHandledExceptionQueuedEvent()
-
getHandledExceptionQueuedEvents
public abstract Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
-
getUnhandledExceptionQueuedEvents
public abstract Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
-
handle
public abstract void handle() throws FacesException- Throws:
FacesException
-
isListenerForSource
public abstract boolean isListenerForSource(Object source)
- Specified by:
isListenerForSourcein interfaceSystemEventListener
-
processEvent
public abstract void processEvent(SystemEvent exceptionQueuedEvent) throws AbortProcessingException
- Specified by:
processEventin interfaceSystemEventListener- Throws:
AbortProcessingException
-
-