java.lang.Object
org.mvplugins.multiverse.core.command.MVDefaultExceptionHandler
- All Implemented Interfaces:
co.aikar.commands.ExceptionHandler
public class MVDefaultExceptionHandler
extends Object
implements co.aikar.commands.ExceptionHandler
Default handler that will print the stack trace when the command throws an exception.
-
Constructor Summary
Constructors
-
Method Summary
boolean
execute(co.aikar.commands.BaseCommand command,
co.aikar.commands.RegisteredCommand registeredCommand,
co.aikar.commands.CommandIssuer sender,
List<String> args,
Throwable t)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MVDefaultExceptionHandler
public MVDefaultExceptionHandler()
-
Method Details
-
execute
public boolean execute(co.aikar.commands.BaseCommand command,
co.aikar.commands.RegisteredCommand registeredCommand,
co.aikar.commands.CommandIssuer sender,
List<String> args,
Throwable t)
- Specified by:
execute
in interface co.aikar.commands.ExceptionHandler