TrafficControlException.java

  1. package org.opentrafficsim.trafficcontrol;

  2. /**
  3.  * Exceptions thrown by traffic control programs.
  4.  * <p>
  5.  * Copyright (c) 2013-2020 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/node/13">OpenTrafficSim License</a>.
  7.  * <p>
  8.  * @version $Revision$, $LastChangedDate$, by $Author$, initial version Nov 16, 2016 <br>
  9.  * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
  10.  * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
  11.  * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
  12.  */
  13. public class TrafficControlException extends Exception
  14. {

  15.     /** */
  16.     private static final long serialVersionUID = 20161116;

  17.     /**
  18.      *
  19.      */
  20.     public TrafficControlException()
  21.     {
  22.     }

  23.     /**
  24.      * @param message String; String
  25.      */
  26.     public TrafficControlException(final String message)
  27.     {
  28.         super(message);
  29.     }

  30.     /**
  31.      * @param cause Throwable; Throwable
  32.      */
  33.     public TrafficControlException(final Throwable cause)
  34.     {
  35.         super(cause);
  36.     }

  37.     /**
  38.      * @param message String; String
  39.      * @param cause Throwable; Throwable
  40.      */
  41.     public TrafficControlException(final String message, final Throwable cause)
  42.     {
  43.         super(message, cause);
  44.     }

  45.     /**
  46.      * @param message String; description of the problem
  47.      * @param cause Throwable; the cause of this Exception
  48.      * @param enableSuppression boolean; whether or not suppression is enabled or disabled
  49.      * @param writableStackTrace boolean; whether or not the stack trace should be writable
  50.      */
  51.     public TrafficControlException(final String message, final Throwable cause, final boolean enableSuppression,
  52.             final boolean writableStackTrace)
  53.     {
  54.         super(message, cause, enableSuppression, writableStackTrace);
  55.     }

  56. }