public class MockExceptionHandler
extends javax.faces.context.ExceptionHandler
Mock implementation of ExceptionHandler.
| Constructor and Description |
|---|
MockExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.event.ExceptionQueuedEvent |
getHandledExceptionQueuedEvent() |
Iterable<javax.faces.event.ExceptionQueuedEvent> |
getHandledExceptionQueuedEvents() |
protected Throwable |
getRethrownException(Throwable exception) |
Throwable |
getRootCause(Throwable t) |
Iterable<javax.faces.event.ExceptionQueuedEvent> |
getUnhandledExceptionQueuedEvents() |
void |
handle() |
boolean |
isListenerForSource(Object source) |
void |
processEvent(javax.faces.event.SystemEvent exceptionQueuedEvent) |
protected boolean |
shouldSkip(Throwable exception) |
protected javax.faces.FacesException |
wrap(Throwable exception) |
public javax.faces.event.ExceptionQueuedEvent getHandledExceptionQueuedEvent()
getHandledExceptionQueuedEvent in class javax.faces.context.ExceptionHandlerpublic Iterable<javax.faces.event.ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
getHandledExceptionQueuedEvents in class javax.faces.context.ExceptionHandlerpublic Throwable getRootCause(Throwable t)
getRootCause in class javax.faces.context.ExceptionHandlerpublic Iterable<javax.faces.event.ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
getUnhandledExceptionQueuedEvents in class javax.faces.context.ExceptionHandlerpublic void handle()
throws javax.faces.FacesException
handle in class javax.faces.context.ExceptionHandlerjavax.faces.FacesExceptionpublic boolean isListenerForSource(Object source)
isListenerForSource in interface javax.faces.event.SystemEventListenerisListenerForSource in class javax.faces.context.ExceptionHandlerpublic void processEvent(javax.faces.event.SystemEvent exceptionQueuedEvent)
throws javax.faces.event.AbortProcessingException
processEvent in interface javax.faces.event.SystemEventListenerprocessEvent in class javax.faces.context.ExceptionHandlerjavax.faces.event.AbortProcessingExceptionprotected javax.faces.FacesException wrap(Throwable exception)
protected boolean shouldSkip(Throwable exception)
Copyright © 2017 The Apache Software Foundation. All rights reserved.