Class NoSuchCommandException

All Implemented Interfaces:
Serializable

@API(status=STABLE) public final class NoSuchCommandException extends CommandParseException
Exception thrown when a command sender tries to execute a command that doesn't exist
See Also:
  • Constructor Details

    • NoSuchCommandException

      @API(status=INTERNAL, consumers="cloud.commandframework.*") public NoSuchCommandException(@NonNull Object commandSender, @NonNull List<CommandArgument<?,?>> currentChain, @NonNull String command)
      Construct a no such command exception
      Parameters:
      commandSender - Sender who executed the command
      currentChain - Chain leading up to the exception
      command - Entered command (following the command chain)
  • Method Details