Class TrafficLightException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentrafficsim.road.network.lane.object.trafficlight.TrafficLightException
- All Implemented Interfaces:
 java.io.Serializable
public class TrafficLightException
extends java.lang.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(java.lang.String message)Construct a TrafficLightException.TrafficLightException(java.lang.String message, java.lang.Throwable cause)TrafficLightException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)TrafficLightException(java.lang.Throwable cause)Construct a TrafficLightException. - 
Method Summary
 
- 
Constructor Details
- 
TrafficLightException
public TrafficLightException()Construct a TrafficLightException. - 
TrafficLightException
public TrafficLightException(java.lang.String message)Construct a TrafficLightException.- Parameters:
 message- String; the explanation of the exception
 - 
TrafficLightException
public TrafficLightException(java.lang.Throwable cause)Construct a TrafficLightException.- Parameters:
 cause- Throwable; the Throwable causing this exception
 - 
TrafficLightException
public TrafficLightException(java.lang.String message, java.lang.Throwable cause)- Parameters:
 message- String; the explanation of the exceptioncause- Throwable; the Throwable causing this exception
 - 
TrafficLightException
public TrafficLightException(java.lang.String message, java.lang.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
 
 -