Interface ICommandException

All Known Implementing Classes:
CommandErrorMessageException, CommandException, CommandInvalidArgumentException, CommandInvalidStateException, CommandInvalidTypeException, CommandNoParserForTypeException, CommandNotEnoughArgumentsException, CommandNotFoundException, CommandTooManyArgumentsException, CommandUnhandledException

public interface ICommandException
The base for a Baritone Command Exception, checked or unchecked. Provides a handle(ICommand, List) method that is used to provide useful output to the user for diagnosing issues that may have occurred during execution.

Anything implementing this interface should be assignable to Exception.

Since:
9/20/2019
Author:
Brady
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default void
    Called when this exception is thrown, to handle the exception.