Class InputParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterException
- All Implemented Interfaces:
Serializable
Exception thrown when an operation is attempted that is not compatible with the indicated input parameter.
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.
$LastChangedDate: 2016-05-28 11:33:31 +0200 (Sat, 28 May 2016) $, @version $Revision: 2051 $, by $Author: averbraeck $,
initial version 18 dec. 2014
- Author:
- Peter Knoppers
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct a new InputParameterException.InputParameterException
(String message) Construct a new InputParameterException.InputParameterException
(String message, Throwable cause) Construct a new InputParameterException.InputParameterException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Construct a new InputParameterException.InputParameterException
(Throwable cause) Construct a new InputParameterException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InputParameterException
public InputParameterException()Construct a new InputParameterException. -
InputParameterException
Construct a new InputParameterException.- Parameters:
message
- String; description of the problem
-
InputParameterException
Construct a new InputParameterException.- Parameters:
cause
- Throwable; the cause of this ValueException
-
InputParameterException
Construct a new InputParameterException.- Parameters:
message
- String; description of the problemcause
- Throwable; the cause of this ValueException
-
InputParameterException
public InputParameterException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Construct a new InputParameterException.- Parameters:
message
- String; description of the problemcause
- Throwable; the cause of this ValueExceptionenableSuppression
- boolean; whether or not suppression is enabled or disabledwritableStackTrace
- boolean; whether or not the stack trace should be writable
-