Class CommandPermissionException

All Implemented Interfaces:
Serializable, ComponentMessageThrowable

public class CommandPermissionException extends CommandException
This exception is thrown when a subject does not have permission to execute a command.
See Also:
  • Constructor Details

    • CommandPermissionException

      public CommandPermissionException(Component message)
      Create a permissions exception with a custom message.
      Parameters:
      message - The message
    • CommandPermissionException

      public CommandPermissionException(Component message, Throwable cause)
      Create a permissions exception with a custom message and cause.
      Parameters:
      message - the message
      cause - the cause