public class IllegalParameterValueException extends IllegalRequestParameterException
| Constructor and Description |
|---|
IllegalParameterValueException(String parameterName,
List values,
String[] allowed) |
IllegalParameterValueException(String parameterName,
String badValue,
String[] allowed)
construct an IllegalParameterValueException
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
getBadValue(List values)
get the bad value from a list of Values
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalParameterValueException(String parameterName, String badValue, String[] allowed)
parameterName - - the name of the parameterbadValue - - the bad value that is not allowedallowed - - the list of allowed valuesprotected static String getBadValue(List values)
values - public String getMessage()
getMessage in class ThrowableCopyright © 2012. All Rights Reserved.