public class InvalidIntegerValueException extends InvalidValueException
Constructor and Description |
---|
InvalidIntegerValueException(int value)
Constructor that accepts the invalid value.
|
InvalidIntegerValueException(int value,
java.lang.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 |
---|---|
int |
getIntegerValue()
Returns the value that is said to be invalid explicitly as a int primitive.
|
getValue
public InvalidIntegerValueException(int value)
value
- the invalid valuepublic InvalidIntegerValueException(int value, java.lang.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.