Package modelarium.exceptions
Class ModelRunException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
modelarium.exceptions.ModelRunException
- All Implemented Interfaces:
Serializable
Exception for indicating that a model run failed to complete.
This exception is thrown when a worker thread fails during the simulation or when the model is interrupted while waiting for worker results, with the worker's original failure attached as the cause.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionModelRunException(String message, Throwable cause) Constructs a new model run 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
-
ModelRunException
Constructs a new model run exception with the specified detail message and cause.- Parameters:
message- the detail message describing the stage of the run that failedcause- the underlying cause of the run failure
-