- All Implemented Interfaces:
FacesListener,SystemEventListener,FacesWrapper<ExceptionHandler>,EventListener
A specialized implementation of ExceptionHandler for Faces that handles exceptions by writing error
information to the partial response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe default behavior of this method is to callExceptionHandler.getHandledExceptionQueuedEvent()on the wrappedExceptionHandlerobject.The default behavior of this method is to callExceptionHandler.getHandledExceptionQueuedEvents()on the wrappedExceptionHandlerobject.The default behavior of this method is to callExceptionHandler.getUnhandledExceptionQueuedEvents()on the wrappedExceptionHandlerobject.voidhandle()The default behavior of this method is to callExceptionHandler.handle()on the wrappedExceptionHandlerobject.voidprocessEvent(SystemEvent event) The default behavior of this method is to callExceptionHandler.processEvent(jakarta.faces.event.SystemEvent)on the wrappedExceptionHandlerobject.Methods inherited from class jakarta.faces.context.ExceptionHandlerWrapper
getRootCause, getWrapped, isListenerForSource
-
Constructor Details
-
AjaxExceptionHandlerImpl
-
-
Method Details
-
getHandledExceptionQueuedEvent
Description copied from class:ExceptionHandlerWrapperThe default behavior of this method is to call
ExceptionHandler.getHandledExceptionQueuedEvent()on the wrappedExceptionHandlerobject.- Overrides:
getHandledExceptionQueuedEventin classExceptionHandlerWrapper- Returns:
- instance of
ExceptionQueuedEvent. - See Also:
-
handle
Description copied from class:ExceptionHandlerWrapperThe default behavior of this method is to call
ExceptionHandler.handle()on the wrappedExceptionHandlerobject.- Overrides:
handlein classExceptionHandlerWrapper- Throws:
FacesException- if and only if a problem occurs while performing the algorithm to handle theException, not as a means of conveying a handledExceptionitself.- See Also:
-
processEvent
Description copied from class:ExceptionHandlerWrapperThe default behavior of this method is to call
ExceptionHandler.processEvent(jakarta.faces.event.SystemEvent)on the wrappedExceptionHandlerobject.- Specified by:
processEventin interfaceSystemEventListener- Overrides:
processEventin classExceptionHandlerWrapper- Parameters:
event- theSystemEventinstance that is being processed.- Throws:
AbortProcessingException- if lifecycle processing should cease for this request.- See Also:
-
getUnhandledExceptionQueuedEvents
Description copied from class:ExceptionHandlerWrapperThe default behavior of this method is to call
ExceptionHandler.getUnhandledExceptionQueuedEvents()on the wrappedExceptionHandlerobject.- Overrides:
getUnhandledExceptionQueuedEventsin classExceptionHandlerWrapper- Returns:
- the unhandled set of
ExceptionQueuedEvents. - See Also:
-
getHandledExceptionQueuedEvents
Description copied from class:ExceptionHandlerWrapperThe default behavior of this method is to call
ExceptionHandler.getHandledExceptionQueuedEvents()on the wrappedExceptionHandlerobject.- Overrides:
getHandledExceptionQueuedEventsin classExceptionHandlerWrapper- Returns:
- an
Iterableover allExceptionQueuedEvents. - See Also:
-