View Javadoc
1   package org.djunits.value;
2   
3   /**
4    * Exception that is thrown for bad indices, or non-rectangular arrays, incompatible arrays or matrices, or empty arrays
5    * <p>
6    * This file was generated by the djunits value classes generator, 26 jun, 2015
7    * <p>
8    * Copyright (c) 2015-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="http://djunits.org/docs/license.html">DJUNITS License</a>.
10   * <p>
11   * $LastChangedDate: 2018-01-28 03:17:44 +0100 (Sun, 28 Jan 2018) $, @version $Revision: 256 $, by $Author: averbraeck $,
12   * initial version 26 jun, 2015 <br>
13   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
14   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
15   */
16  public class ValueException extends Exception
17  {
18      /**  */
19      private static final long serialVersionUID = 20150626L;
20  
21      /**
22       * Construct a new ValueException.
23       */
24      public ValueException()
25      {
26          super();
27      }
28  
29      /**
30       * Construct a new ValueException.
31       * @param message String; description of the problem
32       */
33      public ValueException(final String message)
34      {
35          super(message);
36      }
37  
38      /**
39       * Construct a new ValueException.
40       * @param cause Throwable; the cause of this ValueException
41       */
42      public ValueException(final Throwable cause)
43      {
44          super(cause);
45      }
46  
47      /**
48       * Construct a new ValueException.
49       * @param message String; description of the problem
50       * @param cause Throwable; the cause of this ValueException
51       */
52      public ValueException(final String message, final Throwable cause)
53      {
54          super(message, cause);
55      }
56  
57      /**
58       * Construct a new ValueException.
59       * @param message String; description of the problem
60       * @param cause Throwable; the cause of this ValueException
61       * @param enableSuppression boolean; whether or not suppression is enabled or disabled
62       * @param writableStackTrace boolean; whether or not the stack trace should be writable
63       */
64      public ValueException(final String message, final Throwable cause, final boolean enableSuppression,
65              final boolean writableStackTrace)
66      {
67          super(message, cause, enableSuppression, writableStackTrace);
68      }
69  
70  }