public class AjaxExceptionHandlerImpl extends ExceptionHandlerWrapper
A specialized implementation of ExceptionHandler for Faces that handles exceptions by writing error
information to the partial response.
| Constructor and Description |
|---|
AjaxExceptionHandlerImpl(ExceptionHandler handler) |
getRootCause, getWrapped, isListenerForSourcepublic AjaxExceptionHandlerImpl(ExceptionHandler handler)
public ExceptionQueuedEvent getHandledExceptionQueuedEvent()
ExceptionHandlerWrapper
The default behavior of this method is to call ExceptionHandler.getHandledExceptionQueuedEvent() on the
wrapped ExceptionHandler object.
getHandledExceptionQueuedEvent in class ExceptionHandlerWrapperExceptionHandler.getHandledExceptionQueuedEvent()public void handle()
throws FacesException
ExceptionHandlerWrapper
The default behavior of this method is to call ExceptionHandler.handle() on the wrapped
ExceptionHandler object.
handle in class ExceptionHandlerWrapperFacesException - 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(SystemEvent event) throws AbortProcessingException
ExceptionHandlerWrapper
The default behavior of this method is to call
ExceptionHandler.processEvent(jakarta.faces.event.SystemEvent) on the wrapped
ExceptionHandler object.
processEvent in interface SystemEventListenerprocessEvent in class ExceptionHandlerWrapperevent - the SystemEvent instance that is being processed.AbortProcessingException - if lifecycle processing should cease for this request.ExceptionHandlerWrapper.processEvent(jakarta.faces.event.SystemEvent)public Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
ExceptionHandlerWrapper
The default behavior of this method is to call ExceptionHandler.getUnhandledExceptionQueuedEvents() on the
wrapped ExceptionHandler object.
getUnhandledExceptionQueuedEvents in class ExceptionHandlerWrapperExceptionQueuedEvents.ExceptionHandlerWrapper.getUnhandledExceptionQueuedEvents()public Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
ExceptionHandlerWrapper
The default behavior of this method is to call ExceptionHandler.getHandledExceptionQueuedEvents() on the
wrapped ExceptionHandler object.
getHandledExceptionQueuedEvents in class ExceptionHandlerWrapperIterable over all ExceptionQueuedEvents.ExceptionHandlerWrapper.getHandledExceptionQueuedEvents()Copyright © 1997–2020 Eclipse Foundation. All rights reserved.