Class ResponseException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArgumentParseException

public abstract class ResponseException extends CommandException
Base class for all exceptions whose user-facing message is driven by the ResponseRegistry — i.e. argument parsing failures, flag errors, validation violations, and cooldowns.

The central throwable resolver handles every ResponseException uniformly: it looks up the ResponseKey in the registry and sends the resolved content (with placeholders) to the source.

NOT for structural/flow exceptions like InvalidSyntaxException or PermissionDeniedException — those extend CommandException directly and carry their own plain message.

See Also: