|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.context.ExceptionHandler
org.apache.myfaces.test.mock.MockExceptionHandler
public class MockExceptionHandler
Mock implementation of ExceptionHandler
.
Constructor Summary | |
---|---|
MockExceptionHandler()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockExceptionHandler()
Method Detail |
---|
public javax.faces.event.ExceptionQueuedEvent getHandledExceptionQueuedEvent()
getHandledExceptionQueuedEvent
in class javax.faces.context.ExceptionHandler
public Iterable<javax.faces.event.ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
getHandledExceptionQueuedEvents
in class javax.faces.context.ExceptionHandler
public Throwable getRootCause(Throwable t)
getRootCause
in class javax.faces.context.ExceptionHandler
public Iterable<javax.faces.event.ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
getUnhandledExceptionQueuedEvents
in class javax.faces.context.ExceptionHandler
public void handle() throws javax.faces.FacesException
handle
in class javax.faces.context.ExceptionHandler
javax.faces.FacesException
public boolean isListenerForSource(Object source)
isListenerForSource
in interface javax.faces.event.SystemEventListener
isListenerForSource
in class javax.faces.context.ExceptionHandler
public void processEvent(javax.faces.event.SystemEvent exceptionQueuedEvent) throws javax.faces.event.AbortProcessingException
processEvent
in interface javax.faces.event.SystemEventListener
processEvent
in class javax.faces.context.ExceptionHandler
javax.faces.event.AbortProcessingException
protected Throwable getRethrownException(Throwable exception)
protected javax.faces.FacesException wrap(Throwable exception)
protected boolean shouldSkip(Throwable exception)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |