Class OperationalPlanException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException
- All Implemented Interfaces:
Serializable
public class OperationalPlanException extends 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 OperationalPlanException()Construct an operational plan exception.OperationalPlanException(String message)OperationalPlanException(String message, Throwable cause)OperationalPlanException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)OperationalPlanException(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
-
OperationalPlanException
public OperationalPlanException()Construct an operational plan exception. -
OperationalPlanException
- Parameters:
message- String; exception message
-
OperationalPlanException
- Parameters:
cause- Throwable; exception that triggered this exception
-
OperationalPlanException
- Parameters:
message- String; exception messagecause- Throwable; exception that triggered this exception
-
OperationalPlanException
public OperationalPlanException(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
-