public class MissingArgumentException extends ParseException
| Constructor and Description |
|---|
MissingArgumentException(Option option)
Construct a new
MissingArgumentException with the specified detail message. |
MissingArgumentException(String message)
Construct a new
MissingArgumentException with the specified detail message. |
| Modifier and Type | Method and Description |
|---|---|
Option |
getOption()
Return the option requiring an argument that wasn't provided on the command line.
|
addSuppressed, 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 messagepublic Option getOption()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.