|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception name.kevinlocke.ultragetopt.CommandLineException name.kevinlocke.ultragetopt.InvalidOptionException
public class InvalidOptionException
Exception signaling that an option was determined to be invalid by the
optionEncountered
method.
This exception is only thrown by an optionEncountered
function
written by an application programmer (the default
optionEncountered
method does nothing). It is intended to be
used for signaling any condition that should terminate command-line
processing and prevent the UltraGetopt constructor from returning.
CommandLineOption.optionEncountered(String)
,
Serialized FormConstructor Summary | |
---|---|
InvalidOptionException(java.lang.String message)
Creates a new invalid option exception with the given error message. |
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 InvalidOptionException(java.lang.String message)
message
- the error message indicating the cause of this exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |