Class ParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentrafficsim.base.parameters.ParameterException
- All Implemented Interfaces:
Serializable
Throwable for exceptions regarding parameters.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Wouter Schakel
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructor.ParameterException
(String message) Constructor with message.ParameterException
(String message, Throwable cause) Constructor with message and cause.ParameterException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructor with message and cause.ParameterException
(Throwable cause) Constructor with 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
-
ParameterException
public ParameterException()Empty constructor. -
ParameterException
Constructor with message.- Parameters:
message
- String; Message.
-
ParameterException
Constructor with cause.- Parameters:
cause
- Throwable; Cause.
-
ParameterException
Constructor with message and cause.- Parameters:
message
- String; Message.cause
- Throwable; Cause.
-
ParameterException
public ParameterException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructor with message and cause.- Parameters:
message
- String; Message.cause
- Throwable; Cause.enableSuppression
- boolean; Whether to enable suppression.writableStackTrace
- boolean; Whether or not the stack trace should be writable.
-