Package io.etcd.jetcd.common.exception
Class EtcdExceptionFactory
java.lang.Object
io.etcd.jetcd.common.exception.EtcdExceptionFactory
A factory for creating instances of
EtcdException and its subtypes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EtcdExceptionstatic ClosedClientExceptionstatic ClosedSnapshotExceptionstatic ClosedClientExceptionstatic ClosedWatcherExceptionstatic CompactedExceptionnewCompactedException(long compactedRev) static EtcdExceptionnewEtcdException(ErrorCode code, String message) static EtcdExceptionnewEtcdException(ErrorCode code, String message, Throwable cause) static EtcdExceptiontoEtcdException(io.grpc.Status status) static EtcdExceptiontoEtcdException(Throwable cause)
-
Constructor Details
-
EtcdExceptionFactory
public EtcdExceptionFactory()
-
-
Method Details
-
newEtcdException
-
newEtcdException
-
newCompactedException
-
newClosedWatcherException
-
newClosedWatchClientException
-
newClosedLeaseClientException
-
newClosedKeepAliveListenerException
-
newClosedSnapshotException
-
handleInterrupt
-
toEtcdException
-
toEtcdException
-