Class BungeeExceptionAdapter
java.lang.Object
revxrsal.commands.exception.CommandExceptionAdapter
revxrsal.commands.exception.DefaultExceptionHandler
revxrsal.commands.bungee.exception.BungeeExceptionAdapter
- All Implemented Interfaces:
CommandExceptionHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class revxrsal.commands.exception.CommandExceptionAdapter
CommandExceptionAdapter.Ignore
-
Field Summary
Fields inherited from class revxrsal.commands.exception.DefaultExceptionHandler
FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
invalidPlayer
(@NotNull CommandActor actor, @NotNull InvalidPlayerException exception) void
senderNotConsole
(@NotNull CommandActor actor, @NotNull SenderNotConsoleException exception) void
senderNotPlayer
(@NotNull CommandActor actor, @NotNull SenderNotPlayerException exception) Methods inherited from class revxrsal.commands.exception.DefaultExceptionHandler
argumentParse, commandInvocation, cooldown, formatTimeFancy, invalidBoolean, invalidCommand, invalidEnumValue, invalidHelpPage, invalidNumber, invalidSubcommand, invalidURL, invalidUUID, missingArgument, noPermission, noSubcommandSpecified, numberNotInRange, onUnhandledException, plural, sendableException, toFancyString, tooManyArguments
Methods inherited from class revxrsal.commands.exception.CommandExceptionAdapter
handleException
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BungeeExceptionAdapter
public BungeeExceptionAdapter()
-
-
Method Details
-
senderNotPlayer
public void senderNotPlayer(@NotNull @NotNull CommandActor actor, @NotNull @NotNull SenderNotPlayerException exception) -
senderNotConsole
public void senderNotConsole(@NotNull @NotNull CommandActor actor, @NotNull @NotNull SenderNotConsoleException exception) -
invalidPlayer
public void invalidPlayer(@NotNull @NotNull CommandActor actor, @NotNull @NotNull InvalidPlayerException exception)
-