Package org.opentrafficsim.core.dsol
Class OtsSimulationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentrafficsim.core.dsol.OtsSimulationException
- All Implemented Interfaces:
Serializable
Exception for the operational plan, e.g. when a request is given outside the plan's validity.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct an operational plan exception.OtsSimulationException
(String message) OtsSimulationException
(String message, Throwable cause) OtsSimulationException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) OtsSimulationException
(Throwable 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
-
OtsSimulationException
public OtsSimulationException()Construct an operational plan exception. -
OtsSimulationException
- Parameters:
message
- String; exception message
-
OtsSimulationException
- Parameters:
cause
- Throwable; exception that triggered this exception
-
OtsSimulationException
- Parameters:
message
- String; exception messagecause
- Throwable; exception that triggered this exception
-
OtsSimulationException
public OtsSimulationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) - Parameters:
message
- String; exception messagecause
- Throwable; exception that triggered this exceptionenableSuppression
- boolean; whether or not suppression is enabled or disabledwritableStackTrace
- boolean; whether or not the stack trace should be writable
-