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.

$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 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

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 exception
      cause - 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 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