Class CommandExecutionException

    • Constructor Detail

      • CommandExecutionException

        public CommandExecutionException​(@NonNull Throwable cause)
        Exception thrown when there is an exception during execution of a command handler
        Parameters:
        cause - Exception thrown during the execution of a command handler
      • CommandExecutionException

        public CommandExecutionException​(@NonNull Throwable cause,
                                         @Nullable CommandContext<?> commandContext)
        Exception thrown when there is an exception during execution of a command handler
        Parameters:
        cause - Exception thrown during the execution of a command handler
        commandContext - Command context
        Since:
        1.4.0