public class MissingOptionException extends ParseException
Modifier and Type | Field and Description |
---|---|
private java.util.List |
missingOptions
The list of missing options and groups
|
private static long |
serialVersionUID
This exception
serialVersionUID . |
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
createMessage(java.util.List<?> missingOptions)
Build the exception message from the specified list of options.
|
java.util.List |
getMissingOptions()
Returns the list of options or option groups missing in the command line parsed.
|
private static final long serialVersionUID
serialVersionUID
.private java.util.List missingOptions
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 and groupspublic java.util.List getMissingOptions()
private static java.lang.String createMessage(java.util.List<?> missingOptions)
missingOptions
- the list of missing options and groups