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