public class CommandException
extends java.lang.RuntimeException
CommandException.Options that are understood
by the CommandRunner.| Modifier and Type | Class and Description |
|---|---|
static class |
CommandException.Option
Specific options understood by the
CommandRunner. |
| Constructor and Description |
|---|
CommandException(CommandException.Option... options)
Create a new
CommandException with the specified options. |
CommandException(java.lang.String message,
CommandException.Option... options)
Create a new
CommandException with the specified options. |
CommandException(java.lang.String message,
java.lang.Throwable cause,
CommandException.Option... options)
Create a new
CommandException with the specified options. |
CommandException(java.lang.Throwable cause,
CommandException.Option... options)
Create a new
CommandException with the specified options. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<CommandException.Option> |
getOptions()
Returns a set of options that are understood by the
CommandRunner. |
public CommandException(CommandException.Option... options)
CommandException with the specified options.options - the exception optionspublic CommandException(java.lang.String message,
CommandException.Option... options)
CommandException with the specified options.message - the exception message to display to the useroptions - the exception optionspublic CommandException(java.lang.String message,
java.lang.Throwable cause,
CommandException.Option... options)
CommandException with the specified options.message - the exception message to display to the usercause - the underlying causeoptions - the exception optionspublic CommandException(java.lang.Throwable cause,
CommandException.Option... options)
CommandException with the specified options.cause - the underlying causeoptions - the exception optionspublic java.util.Set<CommandException.Option> getOptions()
CommandRunner.