public class DisallowedValueException extends InvalidDataException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
DisallowedValueException()
Create a new
DisallowedValueException object. |
DisallowedValueException(String msg)
Create a new
DisallowedValueException exception. |
DisallowedValueException(String field,
Object value)
Create a new
DisallowedValueException object. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
public DisallowedValueException()
DisallowedValueException
object.public DisallowedValueException(String msg)
DisallowedValueException
exception.msg
- Message from the caller to throw with the exception.