public class SimFinishedException extends DESMOJException
RuntimeException
which
isthe root for a tree of exceptions that are automatically rethrown by any
Java method thus not needing to be rethrown by the user, too.Constructor and Description |
---|
SimFinishedException(Model origin,
java.lang.String position,
TimeInstant time)
Constructs a SimFinishedException inserting the given position String and
the given simulation time in the ErrorMessage documenting this exception.
|
getErrorMessage
public SimFinishedException(Model origin, java.lang.String position, TimeInstant time)
position
- java.lang.String : contains the position, i.e. Object and
method that throws this exceptiontime
- TimeInstant : The point in simulation time that this exception is
thrown