View Javadoc
1   package org.opentrafficsim.core.geometry;
2   
3   /**
4    * <p>
5    * Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
6    * BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
7    * <p>
8    * $LastChangedDate: 2015-07-16 10:20:53 +0200 (Thu, 16 Jul 2015) $, @version $Revision: 1124 $, by $Author: pknoppers $,
9    * initial version Jul 22, 2015 <br>
10   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
11   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
12   */
13  public class OTSGeometryException extends Exception
14  {
15      /** */
16      private static final long serialVersionUID = 20150722L;
17  
18      /**
19       * construct empty OTSGeometryException.
20       */
21      public OTSGeometryException()
22      {
23      }
24  
25      /**
26       * @param message String; message to display for this exception.
27       */
28      public OTSGeometryException(final String message)
29      {
30          super(message);
31      }
32  
33      /**
34       * @param cause Throwable; the exception that triggered this exception.
35       */
36      public OTSGeometryException(final Throwable cause)
37      {
38          super(cause);
39      }
40  
41      /**
42       * @param message String; message to display for this exception.
43       * @param cause Throwable; the exception that triggered this exception.
44       */
45      public OTSGeometryException(final String message, final Throwable cause)
46      {
47          super(message, cause);
48      }
49  
50      /**
51       * @param message String; message to display for this exception.
52       * @param cause Throwable; the exception that triggered this exception.
53       * @param enableSuppression boolean; whether or not suppression is enabled or disabled
54       * @param writableStackTrace boolean; whether or not the stack trace should be writable
55       */
56      public OTSGeometryException(final String message, final Throwable cause, final boolean enableSuppression,
57              final boolean writableStackTrace)
58      {
59          super(message, cause, enableSuppression, writableStackTrace);
60      }
61  }