View Javadoc
1   package org.opentrafficsim.simulationengine;
2   
3   /**
4    * Exception thrown when an operation is attempted that is not compatible with the indicated property.
5    * <p>
6    * Copyright (c) 2013-2014 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 18 dec. 2014 <br>
10   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
11   */
12  public class PropertyException extends Exception
13  {
14      /**  */
15      private static final long serialVersionUID = 20141023L;
16  
17      /**
18       * Construct a new IncompatiblePropertyException.
19       */
20      public PropertyException()
21      {
22          super();
23      }
24  
25      /**
26       * Construct a new IncompatiblePropertyException.
27       * @param message String; description of the problem
28       */
29      public PropertyException(final String message)
30      {
31          super(message);
32      }
33  
34      /**
35       * Construct a new IncompatiblePropertyException.
36       * @param cause Throwable; the cause of this ValueException
37       */
38      public PropertyException(final Throwable cause)
39      {
40          super(cause);
41      }
42  
43      /**
44       * Construct a new IncompatiblePropertyException.
45       * @param message String; description of the problem
46       * @param cause Throwable; the cause of this ValueException
47       */
48      public PropertyException(final String message, final Throwable cause)
49      {
50          super(message, cause);
51      }
52  
53      /**
54       * Construct a new IncompatiblePropertyException.
55       * @param message String; description of the problem
56       * @param cause Throwable; the cause of this ValueException
57       * @param enableSuppression boolean; whether or not suppression is enabled or disabled
58       * @param writableStackTrace boolean; whether or not the stack trace should be writable
59       */
60      public PropertyException(final String message, final Throwable cause, final boolean enableSuppression,
61          final boolean writableStackTrace)
62      {
63          super(message, cause, enableSuppression, writableStackTrace);
64      }
65  
66  }