Class SelfHandlingException

All Implemented Interfaces:
Serializable

@AvailableSince("1.0.0") public abstract class SelfHandlingException extends CommandException
See Also:
  • Constructor Details

    • SelfHandlingException

      public SelfHandlingException()
  • Method Details

    • handle

      public abstract <S extends CommandSource> void handle(CommandContext<S> context)
      Handles the exception
      Type Parameters:
      S - the command-source valueType
      Parameters:
      context - the context