View Javadoc
1   package org.opentrafficsim.core.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 OpenTrafficSim value classes generator, 09 mrt, 2015
7    * <p>
8    * Copyright (c) 2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>.
10   * <p>
11   * @version 09 mrt, 2015 <br>
12   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
13   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
14   */
15  public class ValueException extends Exception
16  {
17      /**  */
18      private static final long serialVersionUID = 20150309L;
19  
20      /**
21       * Construct a new ValueException.
22       */
23      public ValueException()
24      {
25          super();
26      }
27  
28      /**
29       * Construct a new ValueException.
30       * @param message String; description of the problem
31       */
32      public ValueException(final String message)
33      {
34          super(message);
35      }
36  
37      /**
38       * Construct a new ValueException.
39       * @param cause Throwable; the cause of this ValueException
40       */
41      public ValueException(final Throwable cause)
42      {
43          super(cause);
44      }
45  
46      /**
47       * Construct a new ValueException.
48       * @param message String; description of the problem
49       * @param cause Throwable; the cause of this ValueException
50       */
51      public ValueException(final String message, final Throwable cause)
52      {
53          super(message, cause);
54      }
55  
56      /**
57       * Construct a new ValueException.
58       * @param message String; description of the problem
59       * @param cause Throwable; the cause of this ValueException
60       * @param enableSuppression boolean; whether or not suppression is enabled or disabled
61       * @param writableStackTrace boolean; whether or not the stack trace should be writable
62       */
63      public ValueException(final String message, final Throwable cause, final boolean enableSuppression,
64              final boolean writableStackTrace)
65      {
66          super(message, cause, enableSuppression, writableStackTrace);
67      }
68  
69  }