org.jboss.test.faces.mock.context
Class MockExceptionHandler
java.lang.Object
javax.faces.context.ExceptionHandler
org.jboss.test.faces.mock.context.MockExceptionHandler
- All Implemented Interfaces:
- EventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListener, FacesMockController.MockObject
public class MockExceptionHandler
- extends javax.faces.context.ExceptionHandler
- implements FacesMockController.MockObject
MockExceptionHandler
public MockExceptionHandler()
- Default constructor
MockExceptionHandler
public MockExceptionHandler(org.easymock.IMocksControl control,
String name)
- Parameters:
control -
getControl
public org.easymock.IMocksControl getControl()
- Specified by:
getControl in interface FacesMockController.MockObject
handle
public void handle()
- Specified by:
handle in class javax.faces.context.ExceptionHandler
getHandledExceptionQueuedEvent
public javax.faces.event.ExceptionQueuedEvent getHandledExceptionQueuedEvent()
- Specified by:
getHandledExceptionQueuedEvent in class javax.faces.context.ExceptionHandler
getUnhandledExceptionQueuedEvents
public Iterable getUnhandledExceptionQueuedEvents()
- Specified by:
getUnhandledExceptionQueuedEvents in class javax.faces.context.ExceptionHandler
getHandledExceptionQueuedEvents
public Iterable getHandledExceptionQueuedEvents()
- Specified by:
getHandledExceptionQueuedEvents in class javax.faces.context.ExceptionHandler
processEvent
public void processEvent(javax.faces.event.SystemEvent arg0)
- Specified by:
processEvent in interface javax.faces.event.SystemEventListener- Specified by:
processEvent in class javax.faces.context.ExceptionHandler
isListenerForSource
public boolean isListenerForSource(Object arg0)
- Specified by:
isListenerForSource in interface javax.faces.event.SystemEventListener- Specified by:
isListenerForSource in class javax.faces.context.ExceptionHandler
getRootCause
public Throwable getRootCause(Throwable arg0)
- Specified by:
getRootCause in class javax.faces.context.ExceptionHandler
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.