All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlan.exception.RateLimitException Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
/* SPDX-License-Identifier: Apache-2.0
   Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.exception;

/**
 * Error that occurs when no further requests are being accepted from the IP address on which the SDK is running.
 * By default, Atlan allows 1800 requests per minute. If your use of the SDK exceed this, you will begin to see
 * these exceptions.
 */
public class RateLimitException extends InvalidRequestException {
    private static final long serialVersionUID = 2L;

    public RateLimitException(ErrorCode error, String... params) {
        super(error, params);
    }

    public RateLimitException(ExceptionMessageDefinition error) {
        super(error, 429);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy