net.dpml.cli
public class OptionException extends Exception
Version: @PROJECT-VERSION@
Field Summary | |
---|---|
static Set | HELP_SETTINGS
The settings used when displaying the related Option.
|
Constructor Summary | |
---|---|
OptionException(Option option)
Creates a new OptionException.
| |
OptionException(Option option, String messageKey)
Creates a new OptionException. | |
OptionException(Option option, String messageKey, String value)
Creates a new OptionException. |
Method Summary | |
---|---|
String | getMessage()
Return the exception message. |
Option | getOption()
Gets the Option the exception relates to
|
See Also: DisplaySetting
Parameters: option the Option the exception relates to
Parameters: option the Option the exception relates to messageKey the id of the message to display
Parameters: option the Option the exception relates to messageKey the id of the message to display value a value to display with the message
Returns: the exception message
Returns: The related Option