View Javadoc
1   package org.djunits.unit;
2   
3   /**
4    * Exceptions in Unit package.
5    * <p>
6    * Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7    * BSD-style license. See <a href="http://djunits.org/docs/license.html">DJUNITS License</a>.
8    * <p>
9    * $LastChangedDate: 2018-01-28 03:17:44 +0100 (Sun, 28 Jan 2018) $, @version $Revision: 256 $, by $Author: averbraeck $,
10   * initial version Jun 18, 2014 <br>
11   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
12   */
13  public class UnitException extends Exception
14  {
15  
16      /** */
17      private static final long serialVersionUID = 20140618L;
18  
19      /**
20       * 
21       */
22      public UnitException()
23      {
24          super();
25      }
26  
27      /**
28       * @param message String
29       * @param cause Throwable
30       * @param enableSuppression bpp;am
31       * @param writableStackTrace boolean
32       */
33      public UnitException(final String message, final Throwable cause, final boolean enableSuppression,
34              final boolean writableStackTrace)
35      {
36          super(message, cause, enableSuppression, writableStackTrace);
37      }
38  
39      /**
40       * @param message String
41       * @param cause Throwable
42       */
43      public UnitException(final String message, final Throwable cause)
44      {
45          super(message, cause);
46      }
47  
48      /**
49       * @param message String
50       */
51      public UnitException(final String message)
52      {
53          super(message);
54      }
55  
56      /**
57       * @param cause Throwable
58       */
59      public UnitException(final Throwable cause)
60      {
61          super(cause);
62      }
63  
64  }