Uses of Interface
co.aikar.commands.ExceptionHandler
Packages that use ExceptionHandler
-
Uses of ExceptionHandler in co.aikar.commands
Fields in co.aikar.commands declared as ExceptionHandlerModifier and TypeFieldDescriptionprotected ExceptionHandler
CommandManager.defaultExceptionHandler
Methods in co.aikar.commands that return ExceptionHandlerModifier and TypeMethodDescriptionCommandManager.getDefaultExceptionHandler()
Gets the current default exception handler, might be null.BaseCommand.getExceptionHandler()
Methods in co.aikar.commands with parameters of type ExceptionHandlerModifier 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)