Package io.deephaven.kv.etcd.lease
Class RetryableRenewingLeaseManagerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.deephaven.UncheckedDeephavenException
io.deephaven.kv.etcd.lease.DeephavenLeaseException
io.deephaven.kv.etcd.lease.RenewingLeaseManagerException
io.deephaven.kv.etcd.lease.RetryableRenewingLeaseManagerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ActiveLeaseExistsException,RetryableDeadlineExpireException
Is a subtype of
RenewingLeaseManagerException which when thrown indicates the called method can be retried.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorRetryableRenewingLeaseManagerException(@NotNull String message) Constructor that supports taking a detailed message describing the error.RetryableRenewingLeaseManagerException(@NotNull String reason, @Nullable Throwable cause) Constructor that builds aRetryableRenewingLeaseManagerExceptionusing the passed in message and optional cause.RetryableRenewingLeaseManagerException(@NotNull String message, @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructor that builds aRetryableRenewingLeaseManagerExceptionusing the passed in message, optional cause, suppression indicator and writable stacktrace flag.RetryableRenewingLeaseManagerException(@NotNull Throwable cause) Constructor that builds aRetryableRenewingLeaseManagerExceptionusing the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RetryableRenewingLeaseManagerException
public RetryableRenewingLeaseManagerException()Default Constructor -
RetryableRenewingLeaseManagerException
Constructor that supports taking a detailed message describing the error.- Parameters:
message- A detailed message describing the error.
-
RetryableRenewingLeaseManagerException
Constructor that builds aRetryableRenewingLeaseManagerExceptionusing the specified cause.- Parameters:
cause- The passed in cause.
-
RetryableRenewingLeaseManagerException
public RetryableRenewingLeaseManagerException(@NotNull @NotNull String reason, @Nullable @Nullable Throwable cause) Constructor that builds aRetryableRenewingLeaseManagerExceptionusing the passed in message and optional cause.- Parameters:
reason- The passed in message detailing the errorcause- Optional cause, null would indicate the error is unknown
-
RetryableRenewingLeaseManagerException
public RetryableRenewingLeaseManagerException(@NotNull @NotNull String message, @Nullable @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructor that builds aRetryableRenewingLeaseManagerExceptionusing the passed in message, optional cause, suppression indicator and writable stacktrace flag.- Parameters:
message- The passed in message detailing the errorcause- Optional cause, null would indicate the error is unknownenableSuppression- Boolean that indicates suppression is enabled or disabledwritableStackTrace- Boolean that indicates if stacktrace is writable
-