1
2
3
4
5
6
7
8
9
10 package nl.tudelft.simulation.dsol;
11
12 /***
13 * This class defines SimRuntimeException. This exception is thrown throughout
14 * DSOL whenever exceptions occur which are directly linked to the simulator.
15 * <br>
16 * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
17 * University of Technology </a>, the Netherlands. <br>
18 * See for project information <a href="http://www.simulation.tudelft.nl">
19 * www.simulation.tudelft.nl </a> <br>
20 * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
21 * License (GPL) </a>, no warranty <br>
22 *
23 * @version 2.0 21.09.2003 <br>
24 * @author <a href="http://www.tbm.tudelft.nl/webstaf/peterja/index.htm">Peter
25 * Jacobs </a>, <a href="mailto:nlang@fbk.eur.nl">Niels Lang </a><a
26 * href="http://www.tbm.tudelft.nl/webstaf/alexandv/index.htm">Alexander
27 * Verbraeck </a>
28 */
29 public class SimRuntimeException extends Exception
30 {
31 /***
32 * Constructor for SimRuntimeException.
33 */
34 public SimRuntimeException()
35 {
36 super();
37 }
38
39 /***
40 * constructs a new SimRuntimeException
41 *
42 * @param message the exception message
43 */
44 public SimRuntimeException(final String message)
45 {
46 super(message);
47 }
48
49 /***
50 * constructs a new SimRuntimeException
51 *
52 * @param message the exception message
53 * @param cause the originating throwable
54 */
55 public SimRuntimeException(final String message, final Throwable cause)
56 {
57 super(message, cause);
58 }
59
60 /***
61 * Constructor for SimRuntimeException.
62 *
63 * @param cause the originating throwable
64 */
65 public SimRuntimeException(final Throwable cause)
66 {
67 super(cause);
68 }
69 }