|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.commons.cli.ParseException
org.apache.commons.cli.MissingArgumentException
public class MissingArgumentException
Thrown when an option requiring an argument is not provided with an argument.
Field Summary | |
---|---|
private Option |
option
The option requiring additional arguments |
Constructor Summary | |
---|---|
MissingArgumentException(Option option)
Construct a new MissingArgumentException
with the specified detail message. |
|
MissingArgumentException(java.lang.String message)
Construct a new MissingArgumentException
with the specified detail message. |
Method Summary | |
---|---|
Option |
getOption()
Return the option requiring an argument that wasn't provided on the command line. |
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 |
Field Detail |
---|
private Option option
Constructor Detail |
---|
public MissingArgumentException(java.lang.String message)
MissingArgumentException
with the specified detail message.
message
- the detail messagepublic MissingArgumentException(Option option)
MissingArgumentException
with the specified detail message.
option
- the option requiring an argumentMethod Detail |
---|
public Option getOption()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |