ZOO_ERRORS

zookeeper return constants *

Values

ValueMeaning
ZOK0
ZSYSTEMERROR-1

System and server-side errors. * This is never thrown by the server, it shouldn't be used other than * to indicate a range. Specifically error codes greater than this * value, but lesser than {@link #ZAPIERROR}, are system errors.

ZRUNTIMEINCONSISTENCY-2
ZDATAINCONSISTENCY-3
ZCONNECTIONLOSS-4
ZMARSHALLINGERROR-5
ZUNIMPLEMENTED-6
ZOPERATIONTIMEOUT-7
ZBADARGUMENTS-8
ZINVALIDSTATE-9
ZAPIERROR-100

API errors. This is never thrown by the server, it shouldn't be used other than to indicate a range. Specifically error codes greater than this value are API errors (while values less than this indicate a {@link #ZSYSTEMERROR}).

ZNONODE-101
ZNOAUTH-102
ZBADVERSION-103
ZNOCHILDRENFOREPHEMERALS-108
ZNODEEXISTS-110
ZNOTEMPTY-111
ZSESSIONEXPIRED-112
ZINVALIDCALLBACK-113
ZINVALIDACL-114
ZAUTHFAILED-115
ZCLOSING-116
ZNOTHING-117
ZSESSIONMOVED-118

Meta