Package baritone.api.command.exception
Class CommandNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
baritone.api.command.exception.CommandException
baritone.api.command.exception.CommandNotFoundException
- All Implemented Interfaces:
ICommandException,Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ICommand command, List<ICommandArgument> args) Called when this exception is thrown, to handle the exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface baritone.api.command.exception.ICommandException
getMessage
-
Field Details
-
command
-
-
Constructor Details
-
CommandNotFoundException
-
-
Method Details
-
handle
Description copied from interface:ICommandExceptionCalled when this exception is thrown, to handle the exception.- Parameters:
command- The command that threw it.args- The arguments the command was called with.
-