public class InvalidOptionException extends Exception
Defined in the sis-console module
| Constructor and Description |
|---|
InvalidOptionException(String message,
String option)
Constructs an exception with the specified detail message.
|
InvalidOptionException(String message,
Throwable cause,
String option)
Constructs an exception with the specified detail message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOption()
Returns the name of the invalid option.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidOptionException(String message, String option)
message - the detail message.option - the name of the invalid option.public String getOption()
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.