Package io.oxia.client.api.exceptions
Class ResourceUnavailableException
Object
Throwable
Exception
OxiaException
ResourceUnavailableException
- All Implemented Interfaces:
Serializable
The operation failed while the server was unavailable, e.g. while the leader of the shard moved.
The condition is temporary.
The outcome of a write that fails with it is unknown: the server may have applied it. Sending it again may apply it twice, e.g. a delete would then find no key. A read can be sent again.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceUnavailableException(String message, Throwable cause) Creates an instance of the exception. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceUnavailableException
Creates an instance of the exception.- Parameters:
message- the exception messagecause- the cause of the exception
-