JSF Test Framework: Mock 1.1.2

org.jboss.test.faces.mock.context
Class MockExceptionHandler

java.lang.Object
  extended by javax.faces.context.ExceptionHandler
      extended by 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


Constructor Summary
MockExceptionHandler()
          Default constructor
MockExceptionHandler(org.easymock.IMocksControl control, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 org.easymock.IMocksControl getControl()
           
 javax.faces.event.ExceptionQueuedEvent getHandledExceptionQueuedEvent()
           
 Iterable getHandledExceptionQueuedEvents()
           
 Throwable getRootCause(Throwable arg0)
           
 Iterable getUnhandledExceptionQueuedEvents()
           
 void handle()
           
 int hashCode()
           
 boolean isListenerForSource(Object arg0)
           
 void processEvent(javax.faces.event.SystemEvent arg0)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockExceptionHandler

public MockExceptionHandler()
Default constructor


MockExceptionHandler

public MockExceptionHandler(org.easymock.IMocksControl control,
                            String name)
Parameters:
control -
Method Detail

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

JSF Test Framework: Mock 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.