package nl.tudelft.simulation.dsol; /** * This class defines SimRuntimeException. This exception is thrown throughout DSOL whenever exceptions occur which are directly * linked to the simulator. *

* Copyright (c) 2003-2022 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See * for project information https://simulation.tudelft.nl. The DSOL * project is distributed under a three-clause BSD-style license, which can be found at * * https://simulation.tudelft.nl/dsol/3.0/license.html. *

* @author Peter Jacobs, Alexander Verbraeck */ public class SimRuntimeException extends RuntimeException { /** The default serial version UID for serializable classes. */ private static final long serialVersionUID = 1L; /** * Constructor for SimRuntimeException. */ public SimRuntimeException() { super(); } /** * constructs a new SimRuntimeException. * @param message String; the exception message */ public SimRuntimeException(final String message) { super(message); } /** * constructs a new SimRuntimeException. * @param message String; the exception message * @param cause Throwable; the originating throwable */ public SimRuntimeException(final String message, final Throwable cause) { super(message, cause); } /** * Constructor for SimRuntimeException. * @param cause Throwable; the originating throwable */ public SimRuntimeException(final Throwable cause) { super(cause); } }