Provides a simple implementation of ExceptionHandler that can be
subclassed by developers wishing to provide specialized behavior to an existing ExceptionHandler instance.
The default implementation of all methods is to call through to the wrapped ExceptionHandler instance.
Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped to
access the instance being wrapped.
| Modifier and Type | Field and Description |
|---|---|
| private ExceptionHandler |
| Access | Constructor and Description |
|---|---|
| public | ExceptionHandlerWrapper()
Deprecated
Use the other constructor taking the implementation being wrapped.
|
| public | ExceptionHandlerWrapper(ExceptionHandler
The implementation being wrapped. wrapped)If this exception handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| wrapped | back to summary |
|---|---|
| private ExceptionHandler wrapped | |
| ExceptionHandlerWrapper | back to summary |
|---|---|
| public ExceptionHandlerWrapper()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| ExceptionHandlerWrapper | back to summary |
|---|---|
| public ExceptionHandlerWrapper(ExceptionHandler wrapped)
If this exception handler has been decorated, the implementation doing the decorating should push the implementation
being wrapped to this constructor. The
| |
| getHandledExceptionQueuedEvent | back to summary |
|---|---|
| public ExceptionQueuedEvent getHandledExceptionQueuedEvent() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getHandledExceptionQueuedEvents | back to summary |
|---|---|
| public Iterable Implements abstract jakarta.
The default behavior of this method is to call
| |
| getRootCause | back to summary |
|---|---|
| public Throwable getRootCause(Throwable t) Implements abstract jakarta.
The default behavior of this method is to call
| |
| getUnhandledExceptionQueuedEvents | back to summary |
|---|---|
| public Iterable Implements abstract jakarta.
The default behavior of this method is to call
| |
| getWrapped | back to summary |
|---|---|
| public ExceptionHandler getWrapped() Implements jakarta. Doc from jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped.
| |
| handle | back to summary |
|---|---|
| public void handle() throws FacesException Implements abstract jakarta.
The default behavior of this method is to call
| |
| isListenerForSource | back to summary |
|---|---|
| public boolean isListenerForSource(Object source) Implements abstract jakarta. Implements jakarta.
The default behavior of this method is to call
| |
| processEvent | back to summary |
|---|---|
| public void processEvent(SystemEvent event) throws AbortProcessingException Implements abstract jakarta. Implements jakarta.
The default behavior of this method is to call
| |