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