public class AjaxExceptionHandlerImpl
extends javax.faces.context.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(javax.faces.context.ExceptionHandler handler) |
Modifier and Type | Method and Description |
---|---|
javax.faces.event.ExceptionQueuedEvent |
getHandledExceptionQueuedEvent()
The default behavior of this method is to
call
ExceptionHandler.getHandledExceptionQueuedEvent()
on the wrapped ExceptionHandler object. |
Iterable<javax.faces.event.ExceptionQueuedEvent> |
getHandledExceptionQueuedEvents()
The default behavior of this method is to call
ExceptionHandler.getHandledExceptionQueuedEvents() on the wrapped
ExceptionHandler object. |
Iterable<javax.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(javax.faces.event.SystemEvent event)
The default behavior of this method is to
call
ExceptionHandler.processEvent(javax.faces.event.SystemEvent)
on the wrapped ExceptionHandler object. |
public AjaxExceptionHandlerImpl(javax.faces.context.ExceptionHandler handler)
public javax.faces.event.ExceptionQueuedEvent getHandledExceptionQueuedEvent()
javax.faces.context.ExceptionHandlerWrapper
The default behavior of this method is to
call ExceptionHandler.getHandledExceptionQueuedEvent()
on the wrapped ExceptionHandler
object.
getHandledExceptionQueuedEvent
in class javax.faces.context.ExceptionHandlerWrapper
ExceptionHandler.getHandledExceptionQueuedEvent()
public void handle() throws javax.faces.FacesException
javax.faces.context.ExceptionHandlerWrapper
The default behavior of this method is to
call ExceptionHandler.handle()
on the wrapped ExceptionHandler
object.
handle
in class javax.faces.context.ExceptionHandlerWrapper
javax.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(javax.faces.event.SystemEvent event) throws javax.faces.event.AbortProcessingException
javax.faces.context.ExceptionHandlerWrapper
The default behavior of this method is to
call ExceptionHandler.processEvent(javax.faces.event.SystemEvent)
on the wrapped ExceptionHandler
object.
processEvent
in interface javax.faces.event.SystemEventListener
processEvent
in class javax.faces.context.ExceptionHandlerWrapper
event
- the SystemEvent
instance that
is being processed.javax.faces.event.AbortProcessingException
- if lifecycle processing should
cease for this request.ExceptionHandlerWrapper.processEvent(javax.faces.event.SystemEvent)
public Iterable<javax.faces.event.ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
javax.faces.context.ExceptionHandlerWrapper
The default behavior of this method is to
call ExceptionHandler.getUnhandledExceptionQueuedEvents()
on the wrapped ExceptionHandler
object.
getUnhandledExceptionQueuedEvents
in class javax.faces.context.ExceptionHandlerWrapper
ExceptionQueuedEvent
s.ExceptionHandlerWrapper.getUnhandledExceptionQueuedEvents()
public Iterable<javax.faces.event.ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
javax.faces.context.ExceptionHandlerWrapper
The default behavior of this method is to call
ExceptionHandler.getHandledExceptionQueuedEvents()
on the wrapped
ExceptionHandler
object.
getHandledExceptionQueuedEvents
in class javax.faces.context.ExceptionHandlerWrapper
Iterable
over all ExceptionQueuedEvent
s.ExceptionHandlerWrapper.getHandledExceptionQueuedEvents()
Copyright © 2010–2021 JBoss by Red Hat. All rights reserved.