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 String getOption()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.