public class UnrecognizedOptionException extends ParseException
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
option
The unrecognized option
|
private static long |
serialVersionUID
This exception
serialVersionUID . |
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.
|
private static final long serialVersionUID
serialVersionUID
.private java.lang.String 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