Class TrafficLightException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentrafficsim.road.network.lane.object.trafficlight.TrafficLightException
- All Implemented Interfaces:
Serializable
public class TrafficLightException extends Exception
Exception for traffic lights and traffic light controllers.
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, Wouter Schakel
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description TrafficLightException()Construct a TrafficLightException.TrafficLightException(String message)Construct a TrafficLightException.TrafficLightException(String message, Throwable cause)TrafficLightException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)TrafficLightException(Throwable cause)Construct a TrafficLightException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TrafficLightException
public TrafficLightException()Construct a TrafficLightException. -
TrafficLightException
Construct a TrafficLightException.- Parameters:
message- String; the explanation of the exception
-
TrafficLightException
Construct a TrafficLightException.- Parameters:
cause- Throwable; the Throwable causing this exception
-
TrafficLightException
- Parameters:
message- String; the explanation of the exceptioncause- Throwable; the Throwable causing this exception
-
TrafficLightException
public TrafficLightException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)- Parameters:
message- String; the explanation of the exceptioncause- Throwable; the Throwable causing this exceptionenableSuppression- boolean; whether or not suppression is enabled or disabledwritableStackTrace- boolean; whether or not the stack trace should be writable
-