public class UnrecognizedOptionException extends ParseException
| Constructor and 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 and 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 option