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
public class DsolRuntimeException extends RuntimeException
DsolRuntimeException is used for generic exceptions in the DSOL packages, where the exception is not specifically mentioned in the method signature.Copyright (c) 2002-2023 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DsolRuntimeException()DsolRuntimeException(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 Detail
-
DsolRuntimeException
public DsolRuntimeException()
-
DsolRuntimeException
public DsolRuntimeException(String message)
- Parameters:
message- String; the message of the exception
-
DsolRuntimeException
public DsolRuntimeException(Throwable cause)
- Parameters:
cause- Throwable; the exception that caused this exception to be triggered
-
DsolRuntimeException
public DsolRuntimeException(String message, Throwable cause)
- 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
-
-