1 package org.djunits.unit;
2
3 /**
4 * Runtime Exceptions in Unit package.
5 * <p>
6 * Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7 * BSD-style license. See <a href="https://djunits.org/docs/license.html">DJUNITS License</a>.
8 * @author Peter Knoppers
9 */
10 public class UnitRuntimeException extends RuntimeException
11 {
12 /** */
13 private static final long serialVersionUID = 600L;
14
15 /**
16 * Construct a new UnitRuntimeException with all default values.
17 */
18 public UnitRuntimeException()
19 {
20 // Nothing to do here
21 }
22
23 /**
24 * Construct a new UnitRuntimeException with some default values.
25 * @param message String
26 * @param cause Throwable
27 */
28 public UnitRuntimeException(final String message, final Throwable cause)
29 {
30 super(message, cause);
31 }
32
33 /**
34 * Construct a new UnitRuntimeException with some default values.
35 * @param message String
36 */
37 public UnitRuntimeException(final String message)
38 {
39 super(message);
40 }
41
42 /**
43 * Construct a new UnitRuntimeException with some default values.
44 * @param cause Throwable
45 */
46 public UnitRuntimeException(final Throwable cause)
47 {
48 super(cause);
49 }
50
51 }