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.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Oct 4, 2016
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 Detail
-
TrafficLightException
public TrafficLightException()
Construct a TrafficLightException.
-
TrafficLightException
public TrafficLightException(String message)
Construct a TrafficLightException.- Parameters:
message
- String; the explanation of the exception
-
TrafficLightException
public TrafficLightException(Throwable cause)
Construct a TrafficLightException.- Parameters:
cause
- Throwable; the Throwable causing this exception
-
TrafficLightException
public TrafficLightException(String message, Throwable cause)
- 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
-
-