View Javadoc
1   package org.opentrafficsim.core.gtu.plan.operational;
2   
3   /**
4    * Exception for the operational plan, e.g. when a request is given outside the plan's validity.
5    * <p>
6    * Copyright (c) 2013-2019 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    * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
10   * initial version Dec 23, 2015 <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   */
14  public class OperationalPlanException extends Exception
15  {
16      /** */
17      private static final long serialVersionUID = 20151223L;
18  
19      /**
20       * Construct an operational plan exception.
21       */
22      public OperationalPlanException()
23      {
24          super();
25      }
26  
27      /**
28       * @param message String; exception message
29       */
30      public OperationalPlanException(final String message)
31      {
32          super(message);
33      }
34  
35      /**
36       * @param cause Throwable; exception that triggered this exception
37       */
38      public OperationalPlanException(final Throwable cause)
39      {
40          super(cause);
41      }
42  
43      /**
44       * @param message String; exception message
45       * @param cause Throwable; exception that triggered this exception
46       */
47      public OperationalPlanException(final String message, final Throwable cause)
48      {
49          super(message, cause);
50      }
51  
52      /**
53       * @param message String; exception message
54       * @param cause Throwable; exception that triggered this exception
55       * @param enableSuppression boolean; whether or not suppression is enabled or disabled
56       * @param writableStackTrace boolean; whether or not the stack trace should be writable
57       */
58      public OperationalPlanException(final String message, final Throwable cause, final boolean enableSuppression,
59              final boolean writableStackTrace)
60      {
61          super(message, cause, enableSuppression, writableStackTrace);
62      }
63  }