Class CommandPermissionException

    • Constructor Detail

      • 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