Uses of Interface
co.aikar.commands.ExceptionHandler
-
Uses of ExceptionHandler in co.aikar.commands
Modifier and TypeFieldDescriptionprotected ExceptionHandler
CommandManager.defaultExceptionHandler
Modifier and TypeMethodDescriptionCommandManager.getDefaultExceptionHandler()
Gets the current default exception handler, might be null.BaseCommand.getExceptionHandler()
Modifier and TypeMethodDescriptionvoid
CommandManager.setDefaultExceptionHandler
(ExceptionHandler exceptionHandler) Sets the defaultExceptionHandler
that is called when an exception occurs while executing a command, if the command doesn't have its own exception handler registered.void
CommandManager.setDefaultExceptionHandler
(ExceptionHandler exceptionHandler, boolean logExceptions) Sets the defaultExceptionHandler
that is called when an exception occurs while executing a command, if the command doesn't have its own exception handler registered, and lets you control if ACF should also log the exception still.BaseCommand.setExceptionHandler
(ExceptionHandler exceptionHandler)