public class MissingOptionException extends ParseException
| Constructor | Description |
|---|---|
MissingOptionException(List missingOptions) |
Constructs a new
MissingSelectedException with the specified list of missing options. |
MissingOptionException(String message) |
Constructs a new
MissingSelectedException with the specified detail message. |
| Modifier and Type | Method | Description |
|---|---|---|
List |
getMissingOptions() |
Gets the list of options or option groups missing in the command line parsed.
|
wrapaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MissingOptionException(List missingOptions)
MissingSelectedException with the specified list of missing options.missingOptions - the list of missing options and groupspublic MissingOptionException(String message)
MissingSelectedException with the specified detail message.message - the detail messagepublic List getMissingOptions()
Copyright © 2002-2025 The Apache Software Foundation. All rights reserved.Apache Commons CLI | Issue management | Source repository