View Javadoc
1   package org.opentrafficsim.core.gtu;
2   
3   import org.opentrafficsim.base.OtsException;
4   
5   /**
6    * Exception thrown when GTU encounters a problem.
7    * <p>
8    * Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
10   * </p>
11   * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
12   * @author <a href="https://github.com/peter-knoppers">Peter Knoppers</a>
13   */
14  public class GtuException extends OtsException
15  {
16  
17      /** */
18      private static final long serialVersionUID = 20150217L;
19  
20      /**
21       * Constructor.
22       */
23      public GtuException()
24      {
25      }
26  
27      /**
28       * Constructor.
29       * @param message String
30       */
31      public GtuException(final String message)
32      {
33          super(message);
34      }
35  
36      /**
37       * Constructor.
38       * @param cause Throwable
39       */
40      public GtuException(final Throwable cause)
41      {
42          super(cause);
43      }
44  
45      /**
46       * Constructor.
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  }