TrafficLightException.java

  1. package org.opentrafficsim.road.network.lane.object.trafficlight;

  2. /**
  3.  * Exception for traffic lights and traffic light controllers.
  4.  * <p>
  5.  * Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
  6.  * BSD-style license. See <a href="http://opentrafficsim.org/docs/current/license.html">OpenTrafficSim License</a>.
  7.  * </p>
  8.  * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
  9.  * initial version Oct 4, 2016 <br>
  10.  * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
  11.  * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
  12.  * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
  13.  */
  14. public class TrafficLightException extends Exception
  15. {
  16.     /** */
  17.     private static final long serialVersionUID = 20161004L;

  18.     /**
  19.      * Construct a TrafficLightException.
  20.      */
  21.     public TrafficLightException()
  22.     {
  23.     }

  24.     /**
  25.      * Construct a TrafficLightException.
  26.      * @param message String; the explanation of the exception
  27.      */
  28.     public TrafficLightException(final String message)
  29.     {
  30.         super(message);
  31.     }

  32.     /**
  33.      * Construct a TrafficLightException.
  34.      * @param cause Throwable; the Throwable causing this exception
  35.      */
  36.     public TrafficLightException(final Throwable cause)
  37.     {
  38.         super(cause);
  39.     }

  40.     /**
  41.      * @param message String; the explanation of the exception
  42.      * @param cause Throwable; the Throwable causing this exception
  43.      */
  44.     public TrafficLightException(final String message, final Throwable cause)
  45.     {
  46.         super(message, cause);
  47.     }

  48.     /**
  49.      * @param message String; the explanation of the exception
  50.      * @param cause Throwable; the Throwable causing this exception
  51.      * @param enableSuppression boolean; whether or not suppression is enabled or disabled
  52.      * @param writableStackTrace boolean; whether or not the stack trace should be writable
  53.      */
  54.     public TrafficLightException(final String message, final Throwable cause, final boolean enableSuppression,
  55.             final boolean writableStackTrace)
  56.     {
  57.         super(message, cause, enableSuppression, writableStackTrace);
  58.     }

  59. }