package nl.tudelft.simulation.language; /** * DSOLRuntimeException is used for generic exceptions in the DSOL packages, where the exception is not specifically mentioned * in the method signature. *
* Copyright (c) 2002-2021 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 Alexander Verbraeck */ public class DSOLRuntimeException extends RuntimeException { /** */ private static final long serialVersionUID = 1L; /** */ public DSOLRuntimeException() { // empty constructor } /** * @param message String; the message of the exception */ public DSOLRuntimeException(final String message) { super(message); } /** * @param cause Throwable; the exception that caused this exception to be triggered */ public DSOLRuntimeException(final Throwable cause) { super(cause); } /** * @param message String; the message of the exception * @param cause Throwable; the exception that caused this exception to be triggered */ public DSOLRuntimeException(final String message, final Throwable cause) { super(message, cause); } /** * @param message String; the message of the exception * @param cause Throwable; the exception that caused this exception to be triggered * @param enableSuppression boolean; whether or not suppression is enabled or disabled * @param writableStackTrace boolean; whether or not the stack trace should be writable */ public DSOLRuntimeException(final String message, final Throwable cause, final boolean enableSuppression, final boolean writableStackTrace) { super(message, cause, enableSuppression, writableStackTrace); } }