Class TrafficLightException

  • All Implemented Interfaces:
    Serializable

    public class TrafficLightException
    extends Exception
    Exception for traffic lights and traffic light controllers.

    Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Oct 4, 2016
    Author:
    Alexander Verbraeck, Peter Knoppers, Wouter Schakel
    See Also:
    Serialized Form
    • 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 exception
        cause - Throwable; the Throwable causing this exception
      • TrafficLightException

        public TrafficLightException​(String message,
                                     Throwable cause,
                                     boolean enableSuppression,
                                     boolean writableStackTrace)
        Parameters:
        message - String; the explanation of the exception
        cause - Throwable; the Throwable causing this exception
        enableSuppression - boolean; whether or not suppression is enabled or disabled
        writableStackTrace - boolean; whether or not the stack trace should be writable