Package baritone.api.command.exception
Class CommandUnhandledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
baritone.api.command.exception.CommandUnhandledException
- All Implemented Interfaces:
ICommandException,Serializable
- Direct Known Subclasses:
CommandNoParserForTypeException
- See Also:
-
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
-
Constructor Details
-
CommandUnhandledException
-
CommandUnhandledException
-
-
Method Details
-
handle
Description copied from interface:ICommandExceptionCalled when this exception is thrown, to handle the exception.- Specified by:
handlein interfaceICommandException- Parameters:
command- The command that threw it.args- The arguments the command was called with.
-