- 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
-
Method Summary
Modifier and TypeMethodDescriptionThe default behavior of this method is to callExceptionHandler.getHandledExceptionQueuedEvent()
on the wrappedExceptionHandler
object.The default behavior of this method is to callExceptionHandler.getHandledExceptionQueuedEvents()
on the wrappedExceptionHandler
object.The default behavior of this method is to callExceptionHandler.getUnhandledExceptionQueuedEvents()
on the wrappedExceptionHandler
object.void
handle()
The default behavior of this method is to callExceptionHandler.handle()
on the wrappedExceptionHandler
object.void
processEvent
(SystemEvent event) The default behavior of this method is to callExceptionHandler.processEvent(jakarta.faces.event.SystemEvent)
on the wrappedExceptionHandler
object.Methods inherited from class jakarta.faces.context.ExceptionHandlerWrapper
getRootCause, getWrapped, isListenerForSource
-
Constructor Details
-
AjaxExceptionHandlerImpl
-
-
Method Details
-
getHandledExceptionQueuedEvent
Description copied from class:ExceptionHandlerWrapper
The default behavior of this method is to call
ExceptionHandler.getHandledExceptionQueuedEvent()
on the wrappedExceptionHandler
object.- Overrides:
getHandledExceptionQueuedEvent
in classExceptionHandlerWrapper
- Returns:
- instance of
ExceptionQueuedEvent
. - See Also:
-
handle
Description copied from class:ExceptionHandlerWrapper
The default behavior of this method is to call
ExceptionHandler.handle()
on the wrappedExceptionHandler
object.- Overrides:
handle
in classExceptionHandlerWrapper
- Throws:
FacesException
- if and only if a problem occurs while performing the algorithm to handle theException
, not as a means of conveying a handledException
itself.- See Also:
-
processEvent
Description copied from class:ExceptionHandlerWrapper
The default behavior of this method is to call
ExceptionHandler.processEvent(jakarta.faces.event.SystemEvent)
on the wrappedExceptionHandler
object.- Specified by:
processEvent
in interfaceSystemEventListener
- Overrides:
processEvent
in classExceptionHandlerWrapper
- Parameters:
event
- theSystemEvent
instance that is being processed.- Throws:
AbortProcessingException
- if lifecycle processing should cease for this request.- See Also:
-
getUnhandledExceptionQueuedEvents
Description copied from class:ExceptionHandlerWrapper
The default behavior of this method is to call
ExceptionHandler.getUnhandledExceptionQueuedEvents()
on the wrappedExceptionHandler
object.- Overrides:
getUnhandledExceptionQueuedEvents
in classExceptionHandlerWrapper
- Returns:
- the unhandled set of
ExceptionQueuedEvent
s. - See Also:
-
getHandledExceptionQueuedEvents
Description copied from class:ExceptionHandlerWrapper
The default behavior of this method is to call
ExceptionHandler.getHandledExceptionQueuedEvents()
on the wrappedExceptionHandler
object.- Overrides:
getHandledExceptionQueuedEvents
in classExceptionHandlerWrapper
- Returns:
- an
Iterable
over allExceptionQueuedEvent
s. - See Also:
-