public class MissingArgumentException extends ParseException
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
Option |
getOption()
Return the option requiring an argument that wasn't provided
on the command line.
|
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 argumentpublic Option getOption()