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
 
 public class MyFacesExceptionHandlerWrapperImpl extends ExceptionHandlerWrapper Extended MyFaces-specific ExceptionHandler implementation.- Author:
- Leonardo Uribe
 
- 
- 
Constructor SummaryConstructors Constructor Description MyFacesExceptionHandlerWrapperImpl(ExceptionHandler delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionQueuedEventgetHandledExceptionQueuedEvent()Iterable<ExceptionQueuedEvent>getHandledExceptionQueuedEvents()protected ThrowablegetRethrownException(Throwable exception)Iterable<ExceptionQueuedEvent>getUnhandledExceptionQueuedEvents()ExceptionHandlergetWrapped()voidhandle()protected voidinit()protected voidinit(FacesContext facesContext)protected voidinit(SystemEvent exceptionQueuedEvent)protected booleanisErrorPagePresent()protected booleanisUseMyFacesErrorHandling()voidprocessEvent(SystemEvent exceptionQueuedEvent)protected booleanshouldSkip(Throwable exception)protected FacesExceptionwrap(Throwable exception)- 
Methods inherited from class jakarta.faces.context.ExceptionHandlerWrappergetRootCause, isListenerForSource
 
- 
 
- 
- 
- 
Constructor Detail- 
MyFacesExceptionHandlerWrapperImplpublic MyFacesExceptionHandlerWrapperImpl(ExceptionHandler delegate) 
 
- 
 - 
Method Detail- 
initprotected void init() 
 - 
initprotected void init(FacesContext facesContext) 
 - 
initprotected void init(SystemEvent exceptionQueuedEvent) 
 - 
isUseMyFacesErrorHandlingprotected boolean isUseMyFacesErrorHandling() 
 - 
isErrorPagePresentprotected boolean isErrorPagePresent() 
 - 
getHandledExceptionQueuedEventpublic ExceptionQueuedEvent getHandledExceptionQueuedEvent() - Overrides:
- getHandledExceptionQueuedEventin class- ExceptionHandlerWrapper
 
 - 
getHandledExceptionQueuedEventspublic Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents() - Overrides:
- getHandledExceptionQueuedEventsin class- ExceptionHandlerWrapper
 
 - 
getUnhandledExceptionQueuedEventspublic Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents() - Overrides:
- getUnhandledExceptionQueuedEventsin class- ExceptionHandlerWrapper
 
 - 
handlepublic void handle() throws FacesException- Overrides:
- handlein class- ExceptionHandlerWrapper
- Throws:
- FacesException
 
 - 
processEventpublic void processEvent(SystemEvent exceptionQueuedEvent) throws AbortProcessingException - Specified by:
- processEventin interface- SystemEventListener
- Overrides:
- processEventin class- ExceptionHandlerWrapper
- Throws:
- AbortProcessingException
 
 - 
wrapprotected FacesException wrap(Throwable exception) 
 - 
shouldSkipprotected boolean shouldSkip(Throwable exception) 
 - 
getWrappedpublic ExceptionHandler getWrapped() - Specified by:
- getWrappedin interface- FacesWrapper<ExceptionHandler>
- Overrides:
- getWrappedin class- ExceptionHandlerWrapper
 
 
- 
 
-