Package org.opentrafficsim.core.dsol
Class OTSSimulationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentrafficsim.core.dsol.OTSSimulationException
- All Implemented Interfaces:
java.io.Serializable
public class OTSSimulationException
extends java.lang.Exception
Exception for the operational plan, e.g. when a request is given outside the plan's validity.
Copyright (c) 2013-2020 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description OTSSimulationException()
Construct an operational plan exception.OTSSimulationException(java.lang.String message)
OTSSimulationException(java.lang.String message, java.lang.Throwable cause)
OTSSimulationException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
OTSSimulationException(java.lang.Throwable cause)
-
Method Summary
-
Constructor Details
-
OTSSimulationException
public OTSSimulationException()Construct an operational plan exception. -
OTSSimulationException
public OTSSimulationException(java.lang.String message)- Parameters:
message
- String; exception message
-
OTSSimulationException
public OTSSimulationException(java.lang.Throwable cause)- Parameters:
cause
- Throwable; exception that triggered this exception
-
OTSSimulationException
public OTSSimulationException(java.lang.String message, java.lang.Throwable cause)- Parameters:
message
- String; exception messagecause
- Throwable; exception that triggered this exception
-
OTSSimulationException
public OTSSimulationException(java.lang.String message, java.lang.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
-