public class CommandException
extends java.lang.Exception
| Constructor and Description |
|---|
CommandException(CommandIfc command,
java.lang.String error)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CommandIfc |
getCommand()
Returns the command.
|
java.lang.String |
getCommandName()
Returns the command name.
|
public CommandException(CommandIfc command, java.lang.String error)
command - The command.error - The error text.public CommandIfc getCommand()
public java.lang.String getCommandName()