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 Throwable
getRethrownException
(Throwable exception) void
handle()
protected void
init()
protected void
init
(FacesContext facesContext) protected void
init
(SystemEvent exceptionQueuedEvent) protected boolean
protected boolean
void
processEvent
(SystemEvent exceptionQueuedEvent) protected boolean
shouldSkip
(Throwable exception) protected FacesException
Methods 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:
getHandledExceptionQueuedEvent
in classExceptionHandlerWrapper
-
getHandledExceptionQueuedEvents
- Overrides:
getHandledExceptionQueuedEvents
in classExceptionHandlerWrapper
-
getUnhandledExceptionQueuedEvents
- Overrides:
getUnhandledExceptionQueuedEvents
in classExceptionHandlerWrapper
-
handle
- Overrides:
handle
in classExceptionHandlerWrapper
- Throws:
FacesException
-
processEvent
- Specified by:
processEvent
in interfaceSystemEventListener
- Overrides:
processEvent
in classExceptionHandlerWrapper
- Throws:
AbortProcessingException
-
getRethrownException
-
wrap
-
shouldSkip
-
getWrapped
- Specified by:
getWrapped
in interfaceFacesWrapper<ExceptionHandler>
- Overrides:
getWrapped
in classExceptionHandlerWrapper
-