public class AjaxExceptionHandlerImpl extends ExceptionHandlerWrapper
A specialized implementation of ExceptionHandler for JSF 2.0 that
handles exceptions by writing error information to the
partial response.
| Constructor and Description |
|---|
AjaxExceptionHandlerImpl(ExceptionHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
ExceptionQueuedEvent |
getHandledExceptionQueuedEvent()
The default behavior of this method is to
call
ExceptionHandler.getHandledExceptionQueuedEvent()
on the wrapped ExceptionHandler object. |
Iterable<ExceptionQueuedEvent> |
getHandledExceptionQueuedEvents()
The default behavior of this method is to call
ExceptionHandler.getHandledExceptionQueuedEvents() on the wrapped
ExceptionHandler object. |
Iterable<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(SystemEvent event)
The default behavior of this method is to
call
ExceptionHandler.processEvent(javax.faces.event.SystemEvent)
on the wrapped ExceptionHandler object. |
getRootCause, getWrapped, isListenerForSourcepublic AjaxExceptionHandlerImpl(ExceptionHandler handler)
public ExceptionQueuedEvent getHandledExceptionQueuedEvent()
ExceptionHandlerWrapperThe 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
ExceptionHandlerWrapperThe 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
ExceptionHandlerWrapperThe default behavior of this method is to
call ExceptionHandler.processEvent(javax.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(javax.faces.event.SystemEvent)public Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
ExceptionHandlerWrapperThe 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()
ExceptionHandlerWrapperThe 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–2019 Eclipse Foundation. All rights reserved.