org.apache.commons.cli
public class MissingOptionException extends ParseException
Constructor and Description |
---|
MissingOptionException(List missingOptions)
Constructs a new
MissingSelectedException with the
specified list of missing options. |
MissingOptionException(String message)
Construct a new
MissingSelectedException
with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
List |
getMissingOptions()
Return the list of options (as strings) missing in the command line parsed.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingOptionException(String message)
MissingSelectedException
with the specified detail message.message
- the detail messagepublic MissingOptionException(List missingOptions)
MissingSelectedException
with the
specified list of missing options.missingOptions
- the list of missing optionspublic List getMissingOptions()
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.