Package com.tuladb

Class LedgerClient.LedgerTimeoutException

All Implemented Interfaces:
Serializable
Enclosing class:
LedgerClient

public static final class LedgerClient.LedgerTimeoutException extends SocketTimeoutException
A connect, TLS handshake, write or read did not finish in time.

The connection has been closed: the reply to a timed-out request may still arrive, and must not be read as the next request's. Later calls fail with "client is not connected" until LedgerClient.reconnect() or LedgerClient.connect() (the smart client, the pool and the buffered clients reconnect on their own). A timed-out write may still have been applied by the server, so retry it with the same txnId.

Extends SocketTimeoutException, which is what a read timeout threw before, so existing handlers still catch it.

See Also: