public static class OptionParser.OptionParseException extends java.lang.RuntimeException
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
localizedMessage |
| Constructor and Description |
|---|
OptionParseException()
Create an empty error with no description
|
OptionParseException(java.lang.String localizedMessage)
Create an error with a localized description
|
OptionParseException(java.lang.String localizedMessage,
java.lang.Throwable t)
Create an error with a localized description and a root cause
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLocalizedMessage() |
private final java.lang.String localizedMessage
public OptionParseException()
public OptionParseException(java.lang.String localizedMessage)
localizedMessage - The message to display to the user.public OptionParseException(java.lang.String localizedMessage, java.lang.Throwable t)
localizedMessage - The message to display to the user.t - The error that caused this message to be displayed.public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwable