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()
Returns the list of options or option groups missing in the command line parsed.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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 options and groupspublic List getMissingOptions()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.