View Javadoc
1   package org.opentrafficsim.core.gtu;
2   
3   /**
4    * Exception thrown when GTU encounters a problem.
5    * <p>
6    * Copyright (c) 2013-2015 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/docs/license.html">OpenTrafficSim License</a>.
8    * <p>
9    * @version $Revision: 1155 $, $LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, by $Author: averbraeck $,
10   *          initial version Aug 22, 2014 <br>
11   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
12   * @author <a href="http://Hansvanlint.weblog.tudelft.nl">Hans van Lint</a>
13   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
14   * @author <a href="http://www.citg.tudelft.nl">Guus Tamminga</a>
15   * @author <a href="http://www.citg.tudelft.nl">Yufei Yuan</a>
16   */
17  public class GTUException extends Exception
18  {
19  
20      /** */
21      private static final long serialVersionUID = 20150217L;
22  
23      /**
24       * 
25       */
26      public GTUException()
27      {
28      }
29  
30      /**
31       * @param message String
32       */
33      public GTUException(final String message)
34      {
35          super(message);
36      }
37  
38      /**
39       * @param cause Throwable
40       */
41      public GTUException(final Throwable cause)
42      {
43          super(cause);
44      }
45  
46      /**
47       * @param message String
48       * @param cause Throwable
49       */
50      public GTUException(final String message, final Throwable cause)
51      {
52          super(message, cause);
53      }
54  
55      /**
56       * @param message String; description of the problem
57       * @param cause Throwable; the cause of this ValueException
58       * @param enableSuppression boolean; whether or not suppression is enabled or disabled
59       * @param writableStackTrace boolean; whether or not the stack trace should be writable
60       */
61      public GTUException(final String message, final Throwable cause, final boolean enableSuppression,
62          final boolean writableStackTrace)
63      {
64          super(message, cause, enableSuppression, writableStackTrace);
65      }
66  
67  }