public class CommandUnhandledException extends java.lang.RuntimeException implements ICommandException
| Constructor and Description |
|---|
CommandUnhandledException(java.lang.String message) |
CommandUnhandledException(java.lang.Throwable cause) |
| 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessagepublic CommandUnhandledException(java.lang.String message)
public CommandUnhandledException(java.lang.Throwable cause)
public void handle(ICommand command, java.util.List<ICommandArgument> args)
ICommandExceptionhandle in interface ICommandExceptioncommand - The command that threw it.args - The arguments the command was called with.