public class InvalidFloatValueException extends InvalidValueException
Constructor and Description |
---|
InvalidFloatValueException(float value)
Constructor that accepts the invalid value.
|
InvalidFloatValueException(float 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 |
---|---|
float |
getFloatValue()
Returns the value that is said to be invalid explicitly as a float primitive.
|
getValue
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidFloatValueException(float value)
value
- the invalid valuepublic InvalidFloatValueException(float 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.