|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
jargs.gnu.exception.OptionException
jargs.gnu.exception.IllegalOptionValueException
public class IllegalOptionValueException
Thrown when an illegal or missing value is given by the user for an option that takes a value.
| Constructor Summary | |
|---|---|
IllegalOptionValueException(AbstractOption<?> option,
java.lang.String value)
Constructor |
|
| Method Summary | |
|---|---|
AbstractOption<?> |
getOption()
|
java.lang.String |
getValue()
|
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IllegalOptionValueException(AbstractOption<?> option,
java.lang.String value)
option - The option whose value was illegal (e.g. "-u").value - The illegal value.| Method Detail |
|---|
public AbstractOption<?> getOption()
public java.lang.String getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||