public class SwitchAjaxExceptionHandlerWrapperImpl extends ExceptionHandlerWrapper
Constructor and Description |
---|
SwitchAjaxExceptionHandlerWrapperImpl(ExceptionHandler requestExceptionHandler,
ExceptionHandler ajaxExceptionHandler) |
Modifier and Type | Method and Description |
---|---|
ExceptionHandler |
getWrapped() |
protected boolean |
isAjaxRequest() |
protected boolean |
isAjaxRequest(FacesContext facesContext) |
protected boolean |
isAjaxRequest(SystemEvent exceptionQueuedEvent) |
void |
processEvent(SystemEvent exceptionQueuedEvent) |
getHandledExceptionQueuedEvent, getHandledExceptionQueuedEvents, getRootCause, getUnhandledExceptionQueuedEvents, handle, isListenerForSource
public SwitchAjaxExceptionHandlerWrapperImpl(ExceptionHandler requestExceptionHandler, ExceptionHandler ajaxExceptionHandler)
public void processEvent(SystemEvent exceptionQueuedEvent) throws AbortProcessingException
processEvent
in interface SystemEventListener
processEvent
in class ExceptionHandlerWrapper
AbortProcessingException
protected boolean isAjaxRequest(SystemEvent exceptionQueuedEvent)
protected boolean isAjaxRequest(FacesContext facesContext)
protected boolean isAjaxRequest()
public ExceptionHandler getWrapped()
getWrapped
in interface FacesWrapper<ExceptionHandler>
getWrapped
in class ExceptionHandlerWrapper
Copyright © 2020 The Apache Software Foundation. All rights reserved.