handleCommandFailure
public boolean handleCommandFailure(org.d_haven.event.command.Command command,
java.lang.Throwable throwable)
Handle a command failure. If a command throws an exception, it has failed. The
CommandManager will call this method so that we can handle the problem effectively.
- Specified by:
handleCommandFailure in interface org.d_haven.event.command.CommandFailureHandler
- Parameters:
command - The original Command object that failedthrowable - The throwable that caused the failure
- Returns:
true if the CommandManager should cease to process commands.