|
|||||||||
| 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.MissingOptionException
public class MissingOptionException
Thrown when a required option has not been provided.
| Constructor Summary | |
|---|---|
MissingOptionException(java.util.List missingOptions)
Constructs a new MissingSelectedException with the
specified list of missing options. |
|
MissingOptionException(java.lang.String message)
Construct a new MissingSelectedException
with the specified detail message. |
|
| Method Summary | |
|---|---|
java.util.List |
getMissingOptions()
Return the list of options (as strings) missing in the command line parsed. |
| 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 MissingOptionException(java.lang.String message)
MissingSelectedException
with the specified detail message.
message - the detail messagepublic MissingOptionException(java.util.List missingOptions)
MissingSelectedException with the
specified list of missing options.
missingOptions - the list of missing options| Method Detail |
|---|
public java.util.List getMissingOptions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||