View Javadoc
1   package org.opentrafficsim.trafficcontrol;
2   
3   /**
4    * Exceptions thrown by traffic control programs.
5    * <p>
6    * Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7    * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
8    * </p>
9    * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
10   * @author <a href="https://tudelft.nl/staff/p.knoppers-1">Peter Knoppers</a>
11   * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
12   */
13  public class TrafficControlException extends Exception
14  {
15  
16      /** */
17      private static final long serialVersionUID = 20161116;
18  
19      /**
20       * 
21       */
22      public TrafficControlException()
23      {
24      }
25  
26      /**
27       * @param message String; String
28       */
29      public TrafficControlException(final String message)
30      {
31          super(message);
32      }
33  
34      /**
35       * @param cause Throwable; Throwable
36       */
37      public TrafficControlException(final Throwable cause)
38      {
39          super(cause);
40      }
41  
42      /**
43       * @param message String; String
44       * @param cause Throwable; Throwable
45       */
46      public TrafficControlException(final String message, final Throwable cause)
47      {
48          super(message, cause);
49      }
50  
51      /**
52       * @param message String; description of the problem
53       * @param cause Throwable; the cause of this Exception
54       * @param enableSuppression boolean; whether or not suppression is enabled or disabled
55       * @param writableStackTrace boolean; whether or not the stack trace should be writable
56       */
57      public TrafficControlException(final String message, final Throwable cause, final boolean enableSuppression,
58              final boolean writableStackTrace)
59      {
60          super(message, cause, enableSuppression, writableStackTrace);
61      }
62  
63  }