public class MissingArgumentException extends ParseException
Modifier and Type | Field and Description |
---|---|
private Option |
option
The option requiring additional arguments
|
private static long |
serialVersionUID
This exception
serialVersionUID . |
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.
|
private static final long serialVersionUID
serialVersionUID
.private Option option
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()