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

com.newrelic.telemetry.exceptions.RetryWithBackoffException Maven / Gradle / Ivy

/*
 * 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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy