Class EtcdException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClosedClientException, ClosedKeepAliveListenerException, ClosedSnapshotException, ClosedWatcherException, CompactedException

public class EtcdException extends RuntimeException
Base exception type for all exceptions produced by the etcd service.
See Also:
  • Method Details

    • getErrorCode

      public ErrorCode getErrorCode()
      Returns the error code associated with this exception.
      Returns:
      a ErrorCode