public class CommandNotFoundException extends CommandException
Modifier and Type | Field and Description |
---|---|
java.lang.String |
command |
Constructor and Description |
---|
CommandNotFoundException(java.lang.String command) |
Modifier and Type | Method and Description |
---|---|
void |
handle(ICommand command,
java.util.List<ICommandArgument> args)
Called when this exception is thrown, to handle the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessage
public final java.lang.String command
public CommandNotFoundException(java.lang.String command)
public void handle(ICommand command, java.util.List<ICommandArgument> args)
ICommandException
command
- The command that threw it.args
- The arguments the command was called with.