java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
me.ahoo.cosid.CosIdException
me.ahoo.cosid.store.StoreTimeoutException
- All Implemented Interfaces:
Serializable
A store operation did not complete within
StoreConfig.timeout(): the backend's native timeout fired
(06-stores.md ยง1). Its outcome is unknown, as with any failed call: a reserve or acquire may have been applied.
Stores throw it, or carry it among the causes of their own exception (one that keeps a status, say); the runtime
looks for it through the causes and reports GeneratorListener.onStoreTimeout(java.lang.String, java.lang.String).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStoreTimeoutException(String message) StoreTimeoutException(String message, Throwable 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
-
StoreTimeoutException
-
StoreTimeoutException
-
-
Method Details
-
isTimeout
Whether a failure is a store timeout: aStoreTimeoutExceptionitself or among its causes.- Parameters:
error- the failure- Returns:
- whether it timed out
-