Package org.djunits.value
Class ValueRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.djunits.value.ValueRuntimeException
-
- All Implemented Interfaces:
Serializable
public class ValueRuntimeException extends RuntimeException
Exception that is thrown for bad indices, or non-rectangular arrays, incompatible arrays or matrices, or empty arraysCopyright (c) 2015-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueRuntimeException()
Construct a new ValueException using default values for all fields.ValueRuntimeException(String message)
Construct a new ValueException with specified description.ValueRuntimeException(String message, Throwable cause)
Construct a new ValueException with specified description and cause.ValueRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Construct a new ValueException specifying all fields.ValueRuntimeException(Throwable cause)
Construct a new ValueException with specified 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
-
ValueRuntimeException
public ValueRuntimeException()
Construct a new ValueException using default values for all fields.
-
ValueRuntimeException
public ValueRuntimeException(String message)
Construct a new ValueException with specified description.- Parameters:
message
- String; description of the problem
-
ValueRuntimeException
public ValueRuntimeException(Throwable cause)
Construct a new ValueException with specified cause.- Parameters:
cause
- Throwable; the cause of this ValueException
-
ValueRuntimeException
public ValueRuntimeException(String message, Throwable cause)
Construct a new ValueException with specified description and cause.- Parameters:
message
- String; description of the problemcause
- Throwable; the cause of this ValueException
-
ValueRuntimeException
public ValueRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Construct a new ValueException specifying all fields.- 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
-
-