|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
name.kevinlocke.ultragetopt.CommandLineException
name.kevinlocke.ultragetopt.MissingArgumentException
public class MissingArgumentException
Exception signaling that an option which requires an argument was not given any arguments. This may occur if the option is the last command-line argument, or if the next command-line argument after this option begins with a leader character.
UltraGetopt.Behavior.ACCEPT_OPTIONLIKE_OPT_ARGS,
Serialized Form| Constructor Summary | |
|---|---|
MissingArgumentException(GetoptErrorFormatter formatter,
char option,
java.lang.String leaders)
Create a new missing argument exception with a message generated by a given formatter. |
|
MissingArgumentException(GetoptErrorFormatter formatter,
java.lang.String option,
java.lang.String leaders)
Create a new missing argument exception with a message generated by a given formatter. |
|
MissingArgumentException(java.lang.String message)
Create a new missing argument 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 MissingArgumentException(java.lang.String message)
message - the error message indicating the cause of this exception
public MissingArgumentException(GetoptErrorFormatter formatter,
java.lang.String option,
java.lang.String leaders)
formatter - the formatter to use for generating the error messageoption - the option which was missing an argumentleaders - the leader characters for that option
public MissingArgumentException(GetoptErrorFormatter formatter,
char option,
java.lang.String leaders)
formatter - the formatter to use for generating the error messageoption - the option which was missing an argumentleaders - the leader characters for that option
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||