Class SelfHandledException

All Implemented Interfaces:
Serializable

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

    • SelfHandledException

      public SelfHandledException(Context<?> ctx)
  • Method Details

    • handle

      public abstract <S extends Source> void handle(ImperatConfig<S> imperat, Context<S> context)
      Handles the exception
      Type Parameters:
      S - the command-source valueType
      Parameters:
      imperat - the api
      context - the context