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,
                                          java.lang.Throwable cause)
        Create a permissions exception with a custom message and cause.
        Parameters:
        message - the message
        cause - the cause