com.newrelic.telemetry.exceptions.RetryWithBackoffException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telemetry-core Show documentation
Show all versions of telemetry-core Show documentation
Used to send telemetry data to New Relic
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.newrelic.telemetry.exceptions;
/**
* This exception is thrown when the batch submission failed and the sender should follow a backoff
* algorithm when retrying the submission.
*/
public class RetryWithBackoffException extends ResponseException {
public RetryWithBackoffException() {
super("The New Relic API suggests backing off exponentially on this request.");
}
public RetryWithBackoffException(String message, Throwable cause) {
super(message, cause);
}
}