|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.pietschy.command.configuration.ParseException
com.pietschy.command.configuration.UnknownValueException
public class UnknownValueException
Thrown for values that are not supported.
| Constructor Summary | |
|---|---|
UnknownValueException(java.lang.String line,
java.lang.String key,
java.lang.String actualValue,
java.util.Set<java.lang.String> allowedValues)
Creates a new instance. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnknownValueException(java.lang.String line,
java.lang.String key,
java.lang.String actualValue,
java.util.Set<java.lang.String> allowedValues)
line - the full text of the line in error.key - the property that is in error.actualValue - the value that was specified.allowedValues - the list of allowed values.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||