Package revxrsal.commands.exception
package revxrsal.commands.exception
-
ClassDescriptionException thrown when an error occurs while parsing arguments.Represents a command error, for example when an invalid value is returned, a condition is violated, or an illegal value is inputted, and validated through a parameter validator.An implementation of
CommandExceptionHandler
that inlines all exceptions into individual, overridable methods.An annotation to automatically ignore any method that may otherwise be a handler method.A handler for all exceptions that may be thrown during the command invocation.Thrown when an exception is thrown by invoking the command's method.Thrown when theCommandActor
has to wait before executing a command again.Default implementation ofCommandExceptionHandler
, which sends basic messages describing the exception.Thrown when an invalid value is specified for anEnum
parameter.Thrown when an invalid value is inputted for aboolean
parameterThrown when an invalid root command is inputted.Thrown when an invalid page is supplied inCommandHelp.paginate(int, int)
.Thrown when an invalid value is supplied for a number-like parameter.Thrown when an invalid subcommand is inputted.Thrown when an invalid value is supplied for aUUID
parameter.Thrown when an unacceptable value for a certain parameter is inputted, for example, an invalid number for a number parameter, or an invalid UUID for aUUID
parameter.Thrown when a parameter is missing (not specified) inside a commandThrown when aCommandActor
lacks the required permission to execute the given command or category.Thrown when no subcommand is specified, as in, when the command input ends to a category and not an executable command.Thrown when a numerical parameter that is annotated withRange
gets a value outside its allowed range.An interface designed for exceptions that wish to handle themselves, without having to be explicitly handled by an exception adapter.Represents an exception that is purely used to send messages directly to the sender.Used to directly send-and-return a message to the command actor.Marks an exception class as throwable from inside the command.Thrown when extra arguments are inputted for a command.