Skip to content

@ExceptionHandler methods #537

@Citymonstret

Description

@Citymonstret

It would be good to support something like

@ExceptionHandler(NoSuchCommandException.class)
public void handleNoSuchCommandException(ExceptionContext<CommandSender> context) {
}

as well as

@ExceptionHandler(NoSuchCommandException.class)
public void handleNoSuchCommandException(NoSuchCommandExeception exception,  CommandContext<CommandSender> context) {
}

etc, with the help of #536.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions