public class RetriesExhaustedException extends RuntimeException implements RetryCountProvider
Constructor and Description |
---|
RetriesExhaustedException(String message) |
RetriesExhaustedException(String message,
int retries) |
RetriesExhaustedException(String message,
Throwable cause) |
RetriesExhaustedException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getRetries()
Return the retry count set
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RetriesExhaustedException(String message, int retries)
public RetriesExhaustedException(String message)
public RetriesExhaustedException(Throwable cause)
public int getRetries()
getRetries
in interface RetryCountProvider
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.