Class NoPermissionException

All Implemented Interfaces:
Serializable

@API(status=STABLE) public class NoPermissionException extends CommandParseException
Exception thrown when a command sender misses a permission required to execute a Command
See Also:
  • Constructor Details

    • NoPermissionException

      @API(status=INTERNAL, consumers="cloud.commandframework.*") public NoPermissionException(@NonNull CommandPermission missingPermission, @NonNull Object commandSender, @NonNull List<@NonNull CommandArgument<?,?>> currentChain)
      Construct a new no permission exception
      Parameters:
      missingPermission - Missing permission node
      commandSender - Command sender
      currentChain - Chain leading up to the exception
  • Method Details