public class AjaxExceptionHandlerImpl
extends jakarta.faces.context.ExceptionHandlerWrapper
A specialized implementation of ExceptionHandler for Faces that handles exceptions by writing error
information to the partial response.
| Constructor and Description |
|---|
AjaxExceptionHandlerImpl(jakarta.faces.context.ExceptionHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
jakarta.faces.event.ExceptionQueuedEvent |
getHandledExceptionQueuedEvent()
The default behavior of this method is to call
ExceptionHandler.getHandledExceptionQueuedEvent() on the
wrapped ExceptionHandler object. |
Iterable<jakarta.faces.event.ExceptionQueuedEvent> |
getHandledExceptionQueuedEvents()
The default behavior of this method is to call
ExceptionHandler.getHandledExceptionQueuedEvents() on the
wrapped ExceptionHandler object. |
Iterable<jakarta.faces.event.ExceptionQueuedEvent> |
getUnhandledExceptionQueuedEvents()
The default behavior of this method is to call
ExceptionHandler.getUnhandledExceptionQueuedEvents() on the
wrapped ExceptionHandler object. |
void |
handle()
The default behavior of this method is to call
ExceptionHandler.handle() on the wrapped
ExceptionHandler object. |
void |
processEvent(jakarta.faces.event.SystemEvent event)
The default behavior of this method is to call
ExceptionHandler.processEvent(jakarta.faces.event.SystemEvent) on the wrapped
ExceptionHandler object. |
public AjaxExceptionHandlerImpl(jakarta.faces.context.ExceptionHandler handler)
public jakarta.faces.event.ExceptionQueuedEvent getHandledExceptionQueuedEvent()
jakarta.faces.context.ExceptionHandlerWrapper
The default behavior of this method is to call ExceptionHandler.getHandledExceptionQueuedEvent() on the
wrapped ExceptionHandler object.
getHandledExceptionQueuedEvent in class jakarta.faces.context.ExceptionHandlerWrapperExceptionHandler.getHandledExceptionQueuedEvent()public void handle()
throws jakarta.faces.FacesException
jakarta.faces.context.ExceptionHandlerWrapper
The default behavior of this method is to call ExceptionHandler.handle() on the wrapped
ExceptionHandler object.
handle in class jakarta.faces.context.ExceptionHandlerWrapperjakarta.faces.FacesException - if and only if a problem occurs while performing the algorithm to handle the
Exception, not as a means of conveying a handled Exception itself.ExceptionHandlerWrapper.handle()public void processEvent(jakarta.faces.event.SystemEvent event)
throws jakarta.faces.event.AbortProcessingException
jakarta.faces.context.ExceptionHandlerWrapper
The default behavior of this method is to call
ExceptionHandler.processEvent(jakarta.faces.event.SystemEvent) on the wrapped
ExceptionHandler object.
processEvent in interface jakarta.faces.event.SystemEventListenerprocessEvent in class jakarta.faces.context.ExceptionHandlerWrapperevent - the SystemEvent instance that is being processed.jakarta.faces.event.AbortProcessingException - if lifecycle processing should cease for this request.ExceptionHandlerWrapper.processEvent(jakarta.faces.event.SystemEvent)public Iterable<jakarta.faces.event.ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
jakarta.faces.context.ExceptionHandlerWrapper
The default behavior of this method is to call ExceptionHandler.getUnhandledExceptionQueuedEvents() on the
wrapped ExceptionHandler object.
getUnhandledExceptionQueuedEvents in class jakarta.faces.context.ExceptionHandlerWrapperExceptionQueuedEvents.ExceptionHandlerWrapper.getUnhandledExceptionQueuedEvents()public Iterable<jakarta.faces.event.ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
jakarta.faces.context.ExceptionHandlerWrapper
The default behavior of this method is to call ExceptionHandler.getHandledExceptionQueuedEvents() on the
wrapped ExceptionHandler object.
getHandledExceptionQueuedEvents in class jakarta.faces.context.ExceptionHandlerWrapperIterable over all ExceptionQueuedEvents.ExceptionHandlerWrapper.getHandledExceptionQueuedEvents()Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.