Class NoSuchCommandException

All Implemented Interfaces:
Serializable

public final class NoSuchCommandException extends CommandParseException
Exception thrown when a command sender tries to execute a command that doesn't exist
See Also:
Serialized Form
  • Constructor Details

    • NoSuchCommandException

      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