com.newisys.eventsim
Class UnhandledExceptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.newisys.eventsim.UnhandledExceptionException
- All Implemented Interfaces:
- Serializable
public class UnhandledExceptionException
- extends RuntimeException
Exception thrown by SimulationManager.executeThreads() when a simulation
thread is terminated by an unhandled exception.
- See Also:
SimulationManager.executeThreads(),
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnhandledExceptionException
public UnhandledExceptionException(SimulationThread thread,
Throwable exception)
- Constructs a new UnhandledExceptionException for the given simulation
thread and unhandled exception.
- Parameters:
thread - the simulation thread that was terminated by the unhandled
exceptionexception - the unhandled exception
getThread
public SimulationThread getThread()
- Returns the simulation thread that was terminated by the unhandled
exception.
- Returns:
- the simulation thread