public class MyFacesExceptionHandlerWrapperImpl extends ExceptionHandlerWrapper
Constructor and Description |
---|
MyFacesExceptionHandlerWrapperImpl(ExceptionHandler delegate) |
Modifier and Type | Method and Description |
---|---|
ExceptionQueuedEvent |
getHandledExceptionQueuedEvent() |
Iterable<ExceptionQueuedEvent> |
getHandledExceptionQueuedEvents() |
protected Throwable |
getRethrownException(Throwable exception) |
Iterable<ExceptionQueuedEvent> |
getUnhandledExceptionQueuedEvents() |
ExceptionHandler |
getWrapped() |
void |
handle() |
protected void |
init() |
protected void |
init(FacesContext facesContext) |
protected void |
init(SystemEvent exceptionQueuedEvent) |
protected boolean |
isErrorPagePresent() |
protected boolean |
isUseMyFacesErrorHandling() |
void |
processEvent(SystemEvent exceptionQueuedEvent) |
protected boolean |
shouldSkip(Throwable exception) |
protected FacesException |
wrap(Throwable exception) |
getRootCause, isListenerForSource
public MyFacesExceptionHandlerWrapperImpl(ExceptionHandler delegate)
protected void init()
protected void init(FacesContext facesContext)
protected void init(SystemEvent exceptionQueuedEvent)
protected boolean isUseMyFacesErrorHandling()
protected boolean isErrorPagePresent()
public ExceptionQueuedEvent getHandledExceptionQueuedEvent()
getHandledExceptionQueuedEvent
in class ExceptionHandlerWrapper
public Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
getHandledExceptionQueuedEvents
in class ExceptionHandlerWrapper
public Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
getUnhandledExceptionQueuedEvents
in class ExceptionHandlerWrapper
public void handle() throws FacesException
handle
in class ExceptionHandlerWrapper
FacesException
public void processEvent(SystemEvent exceptionQueuedEvent) throws AbortProcessingException
processEvent
in interface SystemEventListener
processEvent
in class ExceptionHandlerWrapper
AbortProcessingException
protected FacesException wrap(Throwable exception)
protected boolean shouldSkip(Throwable exception)
public ExceptionHandler getWrapped()
getWrapped
in interface FacesWrapper<ExceptionHandler>
getWrapped
in class ExceptionHandlerWrapper
Copyright © 2020 The Apache Software Foundation. All rights reserved.