View Javadoc
1   package org.opentrafficsim.core.unit;
2   
3   /**
4    * Exceptions in Unit package.
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 Jun 18, 2014 <br>
10   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
11   */
12  public class UnitException extends Exception
13  {
14  
15      /** */
16      private static final long serialVersionUID = 20140618L;
17  
18      /**
19       * 
20       */
21      public UnitException()
22      {
23          super();
24      }
25  
26      /**
27       * @param message String
28       * @param cause Throwable
29       * @param enableSuppression bpp;am
30       * @param writableStackTrace boolean
31       */
32      public UnitException(final String message, final Throwable cause, final boolean enableSuppression,
33          final boolean writableStackTrace)
34      {
35          super(message, cause, enableSuppression, writableStackTrace);
36      }
37  
38      /**
39       * @param message String
40       * @param cause Throwable
41       */
42      public UnitException(final String message, final Throwable cause)
43      {
44          super(message, cause);
45      }
46  
47      /**
48       * @param message String
49       */
50      public UnitException(final String message)
51      {
52          super(message);
53      }
54  
55      /**
56       * @param cause Throwable
57       */
58      public UnitException(final Throwable cause)
59      {
60          super(cause);
61      }
62  
63  }