public class MissingArgumentException extends ParseException
| Constructor | Description |
|---|---|
MissingArgumentException(Option option) |
Constructs a new
MissingArgumentException with the specified detail message. |
MissingArgumentException(String message) |
Constructs a new
MissingArgumentException with the specified detail message. |
| Modifier and Type | Method | Description |
|---|---|---|
Option |
getOption() |
Gets the option requiring an argument that wasn't provided on the command line.
|
wrapaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MissingArgumentException(Option option)
MissingArgumentException with the specified detail message.option - the option requiring an argumentpublic MissingArgumentException(String message)
MissingArgumentException with the specified detail message.message - the detail messageCopyright © 2002-2025 The Apache Software Foundation. All rights reserved.Apache Commons CLI | Issue management | Source repository