Deprecated List (ZooKeeper 3.4.6 API)
Date: 2014-02-20

# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Fields
- Deprecated Methods
- Deprecated Enum Constants

- Deprecated Interfaces
  Interface and Description
  org.apache.zookeeper.KeeperException.CodeDeprecated

- Deprecated Fields
  Field and Description
  org.apache.zookeeper.KeeperException.CodeDeprecated.APIError deprecated in 3.1.0, use `KeeperException.Code.APIERROR` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.AuthFailed deprecated in 3.1.0, use `KeeperException.Code.AUTHFAILED` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.BadArguments deprecated in 3.1.0, use `KeeperException.Code.BADARGUMENTS` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.BadVersion deprecated in 3.1.0, use `KeeperException.Code.BADVERSION` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.ConnectionLoss deprecated in 3.1.0, use `KeeperException.Code.CONNECTIONLOSS` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.DataInconsistency deprecated in 3.1.0, use `KeeperException.Code.DATAINCONSISTENCY` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.InvalidACL deprecated in 3.1.0, use `KeeperException.Code.INVALIDACL` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.InvalidCallback deprecated in 3.1.0, use `KeeperException.Code.INVALIDCALLBACK` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.MarshallingError deprecated in 3.1.0, use `KeeperException.Code.MARSHALLINGERROR` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.NoAuth deprecated in 3.1.0, use `KeeperException.Code.NOAUTH` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.NoChildrenForEphemerals deprecated in 3.1.0, use `KeeperException.Code.NOCHILDRENFOREPHEMERALS` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.NodeExists deprecated in 3.1.0, use `KeeperException.Code.NODEEXISTS` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.NoNode deprecated in 3.1.0, use `KeeperException.Code.NONODE` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.NotEmpty deprecated in 3.1.0, use `KeeperException.Code.NOTEMPTY` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.Ok deprecated in 3.1.0, use `KeeperException.Code.OK` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.OperationTimeout deprecated in 3.1.0, use `KeeperException.Code.OPERATIONTIMEOUT` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.RuntimeInconsistency deprecated in 3.1.0, use `KeeperException.Code.RUNTIMEINCONSISTENCY` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.SessionExpired deprecated in 3.1.0, use `KeeperException.Code.SESSIONEXPIRED` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.SystemError deprecated in 3.1.0, use `KeeperException.Code.SYSTEMERROR` instead
  org.apache.zookeeper.KeeperException.CodeDeprecated.Unimplemented deprecated in 3.1.0, use `KeeperException.Code.UNIMPLEMENTED` instead

- Deprecated Methods
  Method and Description
  org.apache.zookeeper.KeeperException.create(int) deprecated in 3.1.0, use `KeeperException.create(Code)` instead
  org.apache.zookeeper.KeeperException.create(int, String) deprecated in 3.1.0, use `KeeperException.create(Code, String)` instead
  org.apache.zookeeper.KeeperException.getCode() deprecated in 3.1.0, use `KeeperException.code()` instead
  org.apache.zookeeper.KeeperException.setCode(int) deprecated in 3.1.0, exceptions should be immutable, this method should not be used

- Deprecated Enum Constants
  Enum Constant and Description
  org.apache.zookeeper.Watcher.Event.KeeperState.NoSyncConnected
  org.apache.zookeeper.Watcher.Event.KeeperState.Unknown

Copyright © 2014 The Apache Software Foundation