com.yobotics.simulationconstructionset
Class ExceptionStoringSimulationDoneListener

java.lang.Object
  extended by com.yobotics.simulationconstructionset.ExceptionStoringSimulationDoneListener
All Implemented Interfaces:
SimulationDoneListener

public class ExceptionStoringSimulationDoneListener
extends java.lang.Object
implements SimulationDoneListener


Constructor Summary
ExceptionStoringSimulationDoneListener()
           
 
Method Summary
 java.lang.Throwable getLastThrownException()
           
 void reset()
           
 void simulationDone()
           
 void simulationDoneWithException(java.lang.Throwable throwable)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionStoringSimulationDoneListener

public ExceptionStoringSimulationDoneListener()
Method Detail

simulationDone

public void simulationDone()
Specified by:
simulationDone in interface SimulationDoneListener

simulationDoneWithException

public void simulationDoneWithException(java.lang.Throwable throwable)
Specified by:
simulationDoneWithException in interface SimulationDoneListener

reset

public void reset()

getLastThrownException

public java.lang.Throwable getLastThrownException()