Class SimulationInterruptedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
modelarium.exceptions.SimulationInterruptedException
All Implemented Interfaces:
Serializable

public class SimulationInterruptedException extends RuntimeException
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 Details

    • SimulationInterruptedException

      public SimulationInterruptedException(String message, Throwable cause)
      Constructs a new simulation interrupted exception with the specified detail message and cause.
      Parameters:
      message - the detail message describing the operation that was interrupted
      cause - the original InterruptedException