Class NoPermissionException

All Implemented Interfaces:
Serializable

public class NoPermissionException extends CommandException
A command exception that occurs when the sender lacks the required permission.
See Also:
  • Constructor Details

    • NoPermissionException

      public NoPermissionException(@Nonnull String permission)
      Default Constructor for a NoPermissionException instance.
      Parameters:
      permission - The permission that the sender lacks.
  • Method Details