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       * 
22       */
23      public GtuException()
24      {
25      }
26  
27      /**
28       * @param message String
29       */
30      public GtuException(final String message)
31      {
32          super(message);
33      }
34  
35      /**
36       * @param cause Throwable
37       */
38      public GtuException(final Throwable cause)
39      {
40          super(cause);
41      }
42  
43      /**
44       * @param message String
45       * @param cause Throwable
46       */
47      public GtuException(final String message, final Throwable cause)
48      {
49          super(message, cause);
50      }
51  
52  }