public class ExceptionHandlerImpl extends ExceptionHandler
Constructor and Description |
---|
ExceptionHandlerImpl() |
Modifier and Type | Method and Description |
---|---|
ExceptionQueuedEvent |
getHandledExceptionQueuedEvent() |
Iterable<ExceptionQueuedEvent> |
getHandledExceptionQueuedEvents() |
protected Throwable |
getRethrownException(Throwable exception) |
Throwable |
getRootCause(Throwable t) |
Iterable<ExceptionQueuedEvent> |
getUnhandledExceptionQueuedEvents() |
void |
handle() |
boolean |
isListenerForSource(Object source) |
void |
processEvent(SystemEvent exceptionQueuedEvent) |
protected boolean |
shouldSkip(Throwable exception) |
protected FacesException |
wrap(Throwable exception) |
public ExceptionQueuedEvent getHandledExceptionQueuedEvent()
getHandledExceptionQueuedEvent
in class ExceptionHandler
public Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
getHandledExceptionQueuedEvents
in class ExceptionHandler
public Throwable getRootCause(Throwable t)
getRootCause
in class ExceptionHandler
public Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
getUnhandledExceptionQueuedEvents
in class ExceptionHandler
public void handle() throws FacesException
handle
in class ExceptionHandler
FacesException
public boolean isListenerForSource(Object source)
isListenerForSource
in interface SystemEventListener
isListenerForSource
in class ExceptionHandler
public void processEvent(SystemEvent exceptionQueuedEvent) throws AbortProcessingException
processEvent
in interface SystemEventListener
processEvent
in class ExceptionHandler
AbortProcessingException
protected FacesException wrap(Throwable exception)
protected boolean shouldSkip(Throwable exception)
Copyright © 2020 The Apache Software Foundation. All rights reserved.