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, toString
public MissingArgumentException(String message)
MissingArgumentException
with the specified detail message.message
- the detail messagepublic MissingArgumentException(Option option)
MissingArgumentException
with the specified detail message.option
- the option requiring an argumentpublic Option getOption()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.