public class UnrecognizedOptionException extends ParseException
Constructor | Description |
---|---|
UnrecognizedOptionException(java.lang.String message) |
Construct a new
UnrecognizedArgumentException
with the specified detail message. |
UnrecognizedOptionException(java.lang.String message,
java.lang.String option) |
Construct a new
UnrecognizedArgumentException
with the specified option and detail message. |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getOption() |
Returns the unrecognized option.
|
public UnrecognizedOptionException(java.lang.String message)
UnrecognizedArgumentException
with the specified detail message.message
- the detail messagepublic UnrecognizedOptionException(java.lang.String message, java.lang.String option)
UnrecognizedArgumentException
with the specified option and detail message.message
- the detail messageoption
- the unrecognized optionpublic java.lang.String getOption()