Package modelarium.exceptions
Class SimulationInterruptedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
modelarium.exceptions.SimulationInterruptedException
- All Implemented Interfaces:
Serializable
Exception for indicating that a simulation thread was interrupted while waiting on another thread.
This exception is thrown when a thread is interrupted while fetching an agent, filtered agents or the environment through the co-ordinator, allowing the interruption to propagate as an unchecked exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimulationInterruptedException(String message, Throwable cause) Constructs a new simulation interrupted exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SimulationInterruptedException
Constructs a new simulation interrupted exception with the specified detail message and cause.- Parameters:
message- the detail message describing the operation that was interruptedcause- the originalInterruptedException
-