The default implementation of ExceptionHandler for Faces.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private ExceptionQueuedEvent | |
| private LinkedList | |
| public static final Level | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final Logger | |
| private LinkedList |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ExceptionQueuedEvent | getHandledExceptionQueuedEvent()
Implements abstract jakarta.
Return the first |
| public Iterable | getHandledExceptionQueuedEvents()
Implements abstract jakarta.
The default implementation must return an |
| private String | |
| public Throwable | getRootCause(Throwable
passed-in wrapped t)Throwable.Implements abstract jakarta.
Unwrap the argument |
| public Iterable | getUnhandledExceptionQueuedEvents()
Implements abstract jakarta.
Return an |
| public void | handle()
Implements abstract jakarta.
Take action to handle the |
| public boolean | isListenerForSource(Object
the source that is inquiring about the appropriateness of sending an event to this listener instance. source)Implements abstract jakarta. Implements jakarta.
This method must return |
| private boolean | |
| private void | |
| public void | processEvent(SystemEvent
the event)SystemEvent instance that is being processed.Implements abstract jakarta. Implements jakarta.
When called, the listener can assume that any guarantees given in the javadoc for the specific |
| private boolean | Returns: true if c is FacesException.class or ELException.classThrowable implementation class
|
| private void |
| errorPagePresent | back to summary |
|---|---|
| private final boolean errorPagePresent | |
| handled | back to summary |
|---|---|
| private ExceptionQueuedEvent handled | |
| handledExceptions | back to summary |
|---|---|
| private LinkedList<ExceptionQueuedEvent> handledExceptions | |
| INCIDENT_ERROR | back to summary |
|---|---|
| public static final Level INCIDENT_ERROR | |
| LOG_AFTER_KEY | back to summary |
|---|---|
| private static final String LOG_AFTER_KEY | |
| LOG_BEFORE_KEY | back to summary |
|---|---|
| private static final String LOG_BEFORE_KEY | |
| LOG_KEY | back to summary |
|---|---|
| private static final String LOG_KEY | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| unhandledExceptions | back to summary |
|---|---|
| private LinkedList<ExceptionQueuedEvent> unhandledExceptions | |
| ExceptionHandlerImpl | back to summary |
|---|---|
| public ExceptionHandlerImpl() | |
| ExceptionHandlerImpl | back to summary |
|---|---|
| public ExceptionHandlerImpl(boolean errorPagePresent) | |
| getHandledExceptionQueuedEvent | back to summary |
|---|---|
| public ExceptionQueuedEvent getHandledExceptionQueuedEvent() Implements abstract jakarta. Doc from jakarta.
Return the first
| |
| getHandledExceptionQueuedEvents | back to summary |
|---|---|
| public Iterable Implements abstract jakarta. Doc from jakarta.
The default implementation must return an
| |
| getLoggingKey | back to summary |
|---|---|
| private String getLoggingKey(boolean beforePhase, boolean afterPhase) | |
| getRootCause | back to summary |
|---|---|
| public Throwable getRootCause(Throwable t) Implements abstract jakarta. Doc from jakarta.
Unwrap the argument
| |
| getUnhandledExceptionQueuedEvents | back to summary |
|---|---|
| public Iterable Implements abstract jakarta. Doc from jakarta.
Return an
| |
| handle | back to summary |
|---|---|
| public void handle() throws FacesException Implements abstract jakarta. Doc from jakarta.
Take action to handle the
| |
| isListenerForSource | back to summary |
|---|---|
| public boolean isListenerForSource(Object source) Implements abstract jakarta. Implements jakarta. Doc from jakarta.
This method must return
| |
| isRethrown | back to summary |
|---|---|
| private boolean isRethrown(Throwable t) | |
| log | back to summary |
|---|---|
| private void log(ExceptionQueuedEventContext exceptionContext) | |
| processEvent | back to summary |
|---|---|
| public void processEvent(SystemEvent event) throws AbortProcessingException Implements abstract jakarta. Implements jakarta. Doc from jakarta.
When called, the listener can assume that any guarantees given in the javadoc for the specific
| |
| shouldUnwrap | back to summary |
|---|---|
| private boolean shouldUnwrap(Class<? extends Throwable> c) | |
| throwIt | back to summary |
|---|---|
| private void throwIt(FacesContext ctx, FacesException fe) | |