public class UnrecognizedOptionException extends ParseException
Constructor and Description |
---|
UnrecognizedOptionException(String message)
Construct a new
UnrecognizedArgumentException
with the specified detail message. |
UnrecognizedOptionException(String message,
String option)
Construct a new
UnrecognizedArgumentException
with the specified option and detail message. |
Modifier and Type | Method and Description |
---|---|
String |
getOption()
Returns the unrecognized option.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnrecognizedOptionException(String message)
UnrecognizedArgumentException
with the specified detail message.message
- the detail messagepublic UnrecognizedOptionException(String message, String option)
UnrecognizedArgumentException
with the specified option and detail message.message
- the detail messageoption
- the unrecognized optionCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.