Package nl.tudelft.simulation.language
Class DsolRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nl.tudelft.simulation.language.DsolRuntimeException
- All Implemented Interfaces:
Serializable
DsolRuntimeException is used for generic exceptions in the DSOL packages, where the exception is not specifically mentioned
in the method signature.
Copyright (c) 2002-2024 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://https://simulation.tudelft.nl/dsol/docs/latest/license.html.
- Author:
- Alexander Verbraeck
- See Also:
-
Constructor Summary
ConstructorDescriptionDsolRuntimeException
(String message) DsolRuntimeException
(String message, Throwable cause) DsolRuntimeException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) DsolRuntimeException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DsolRuntimeException
public DsolRuntimeException() -
DsolRuntimeException
- Parameters:
message
- String; the message of the exception
-
DsolRuntimeException
- Parameters:
cause
- Throwable; the exception that caused this exception to be triggered
-
DsolRuntimeException
- Parameters:
message
- String; the message of the exceptioncause
- Throwable; the exception that caused this exception to be triggered
-
DsolRuntimeException
public DsolRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) - Parameters:
message
- String; the message of the exceptioncause
- Throwable; the exception that caused this exception to be triggeredenableSuppression
- boolean; whether or not suppression is enabled or disabledwritableStackTrace
- boolean; whether or not the stack trace should be writable
-