public class InvalidValueException
extends java.lang.RuntimeException
Constructor and Description |
---|
InvalidValueException(java.lang.Object value)
Constructor that accepts the invalid
value . |
InvalidValueException(java.lang.Object 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 |
---|---|
java.lang.Object |
getValue()
Returns the value that is said to be invalid.
|
public InvalidValueException(java.lang.Object value)
value
.value
- the invalid valuepublic InvalidValueException(java.lang.Object value, java.lang.Throwable throwable)
value
plus a possible throwable
that should be
wrapped by this exception.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.