Package org.apache.myfaces.context
Class MyFacesExceptionHandlerWrapperImpl
java.lang.Object
jakarta.faces.context.ExceptionHandler
jakarta.faces.context.ExceptionHandlerWrapper
org.apache.myfaces.context.MyFacesExceptionHandlerWrapperImpl
- All Implemented Interfaces:
FacesListener,SystemEventListener,FacesWrapper<ExceptionHandler>,EventListener
Extended MyFaces-specific ExceptionHandler implementation.
- Author:
- Leonardo Uribe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ThrowablegetRethrownException(Throwable exception) voidhandle()protected voidinit()protected voidinit(FacesContext facesContext) protected voidinit(SystemEvent exceptionQueuedEvent) protected booleanprotected booleanvoidprocessEvent(SystemEvent exceptionQueuedEvent) protected booleanshouldSkip(Throwable exception) protected FacesExceptionMethods inherited from class jakarta.faces.context.ExceptionHandlerWrapper
getRootCause, isListenerForSource
-
Constructor Details
-
MyFacesExceptionHandlerWrapperImpl
-
-
Method Details
-
init
protected void init() -
init
-
init
-
isUseMyFacesErrorHandling
protected boolean isUseMyFacesErrorHandling() -
isErrorPagePresent
protected boolean isErrorPagePresent() -
getHandledExceptionQueuedEvent
- Overrides:
getHandledExceptionQueuedEventin classExceptionHandlerWrapper
-
getHandledExceptionQueuedEvents
- Overrides:
getHandledExceptionQueuedEventsin classExceptionHandlerWrapper
-
getUnhandledExceptionQueuedEvents
- Overrides:
getUnhandledExceptionQueuedEventsin classExceptionHandlerWrapper
-
handle
- Overrides:
handlein classExceptionHandlerWrapper- Throws:
FacesException
-
processEvent
- Specified by:
processEventin interfaceSystemEventListener- Overrides:
processEventin classExceptionHandlerWrapper- Throws:
AbortProcessingException
-
getRethrownException
-
wrap
-
shouldSkip
-
getWrapped
- Specified by:
getWrappedin interfaceFacesWrapper<ExceptionHandler>- Overrides:
getWrappedin classExceptionHandlerWrapper
-