1 package org.opentrafficsim.base.parameters;
2
3 import org.opentrafficsim.base.OtsException;
4
5 /**
6 * Throwable for exceptions regarding parameters.
7 * <p>
8 * Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
10 * </p>
11 * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
12 * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
13 */
14 public class ParameterException extends OtsException
15 {
16
17 /** Serialization id. */
18 private static final long serialVersionUID = 20160325L;
19
20 /**
21 * Empty constructor.
22 */
23 public ParameterException()
24 {
25 }
26
27 /**
28 * Constructor with message.
29 * @param message Message.
30 */
31 public ParameterException(final String message)
32 {
33 super(message);
34 }
35
36 /**
37 * Constructor with cause.
38 * @param cause Cause.
39 */
40 public ParameterException(final Throwable cause)
41 {
42 super(cause);
43 }
44
45 /**
46 * Constructor with message and cause.
47 * @param message Message.
48 * @param cause Cause.
49 */
50 public ParameterException(final String message, final Throwable cause)
51 {
52 super(message, cause);
53 }
54
55 }