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

ru.tinkoff.kora.resilient.retry.RetryExhaustedException Maven / Gradle / Ivy

The newest version!
package ru.tinkoff.kora.resilient.retry;

import jakarta.annotation.Nonnull;
import ru.tinkoff.kora.resilient.ResilientException;

/**
 * Exception that indicates all Retry attempts exhausted
 */
public final class RetryExhaustedException extends ResilientException {

    public RetryExhaustedException(int attempts, @Nonnull Throwable cause) {
        super("All '" + attempts + "' retry attempts exhausted", cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy