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, isListenerForSource
public 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 ExceptionHandlerWrapper
ExceptionHandler.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 ExceptionHandlerWrapper
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(SystemEvent event) throws AbortProcessingException
ExceptionHandlerWrapper
The default behavior of this method is to
call ExceptionHandler.processEvent(javax.faces.event.SystemEvent)
on the wrapped ExceptionHandler
object.
processEvent
in interface SystemEventListener
processEvent
in class ExceptionHandlerWrapper
event
- 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()
ExceptionHandlerWrapper
The default behavior of this method is to
call ExceptionHandler.getUnhandledExceptionQueuedEvents()
on the wrapped ExceptionHandler
object.
getUnhandledExceptionQueuedEvents
in class ExceptionHandlerWrapper
ExceptionQueuedEvent
s.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 ExceptionHandlerWrapper
Iterable
over all ExceptionQueuedEvent
s.ExceptionHandlerWrapper.getHandledExceptionQueuedEvents()
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.