public class InvalidDoubleValueException extends InvalidValueException
Constructor and Description |
---|
InvalidDoubleValueException(double value)
Constructor that accepts the invalid value.
|
InvalidDoubleValueException(double value,
Throwable throwable)
This constructors takes the invalid value plus a possible throwable that should be wrapped by this exception.
|
Modifier and Type | Method and Description |
---|---|
double |
getDoubleValue()
Returns the value that is said to be invalid explicitly as a double primitive.
|
getValue
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidDoubleValueException(double value)
value
- the invalid valuepublic InvalidDoubleValueException(double value, Throwable throwable)
value
- the invalid value.throwable
- the Throwable (e.g. a non-runtime Exception) that should be wrapped inside this exception.Copyright © 2015. All Rights Reserved.