Return-Path: X-Original-To: apmail-zookeeper-commits-archive@www.apache.org Delivered-To: apmail-zookeeper-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C94B472CB for ; Thu, 29 Dec 2011 23:35:14 +0000 (UTC) Received: (qmail 32858 invoked by uid 500); 29 Dec 2011 23:35:14 -0000 Delivered-To: apmail-zookeeper-commits-archive@zookeeper.apache.org Received: (qmail 32757 invoked by uid 500); 29 Dec 2011 23:35:14 -0000 Mailing-List: contact commits-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ Delivered-To: mailing list commits@zookeeper.apache.org Received: (qmail 32740 invoked by uid 99); 29 Dec 2011 23:35:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2011 23:35:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2011 23:35:10 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id E7E8E2388A3F for ; Thu, 29 Dec 2011 23:34:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1225691 [6/42] - in /zookeeper/site/trunk: content/ content/doc/r3.4.2/ content/doc/r3.4.2/api/ content/doc/r3.4.2/api/org/ content/doc/r3.4.2/api/org/apache/ content/doc/r3.4.2/api/org/apache/zookeeper/ content/doc/r3.4.2/api/org/apache/z... Date: Thu, 29 Dec 2011 23:34:15 -0000 To: commits@zookeeper.apache.org From: mahadev@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111229233427.E7E8E2388A3F@eris.apache.org> Added: zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.BadArgumentsException.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.BadArgumentsException.html?rev=1225691&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.BadArgumentsException.html (added) +++ zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.BadArgumentsException.html Thu Dec 29 23:34:04 2011 @@ -0,0 +1,287 @@ + + + + + + +KeeperException.BadArgumentsException (ZooKeeper 3.4.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.zookeeper +
+Class KeeperException.BadArgumentsException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.zookeeper.KeeperException
+              extended by org.apache.zookeeper.KeeperException.BadArgumentsException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
Enclosing class:
KeeperException
+
+
+
+
public static class KeeperException.BadArgumentsException
extends KeeperException
+ + +

+

+
See Also:
KeeperException.Code.BADARGUMENTS, +Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.zookeeper.KeeperException
KeeperException.APIErrorException, KeeperException.AuthFailedException, KeeperException.BadArgumentsException, KeeperException.BadVersionException, KeeperException.Code, KeeperException.CodeDeprecated, KeeperException.ConnectionLossException, KeeperException.DataInconsistencyException, KeeperException.InvalidACLException, KeeperException.InvalidCallbackException, KeeperException.MarshallingErrorException, KeeperException.NoAuthException, KeeperException.NoChildrenForEphemeralsException, KeeperException.NodeExistsException, KeeperException.NoNodeException, KeeperException.NotEmptyException, KeeperException.NotReadOnlyException, KeeperException.OperationTimeoutException, KeeperException.RuntimeInconsistencyException, KeeperException.SessionExpiredException, KeeperException.SessionMovedException, KeeperException.SystemErrorException, KeeperException.UnimplementedException
+  + + + + + + + + + + + + + + +
+Constructor Summary
KeeperException.BadArgumentsException() + +
+           
KeeperException.BadArgumentsException(String path) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.zookeeper.KeeperException
code, create, create, create, create, getCode, getMessage, getPath, getResults, setCode
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+KeeperException.BadArgumentsException

+
+public KeeperException.BadArgumentsException()
+
+
+
+ +

+KeeperException.BadArgumentsException

+
+public KeeperException.BadArgumentsException(String path)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2011 The Apache Software Foundation + + Added: zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.BadVersionException.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.BadVersionException.html?rev=1225691&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.BadVersionException.html (added) +++ zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.BadVersionException.html Thu Dec 29 23:34:04 2011 @@ -0,0 +1,287 @@ + + + + + + +KeeperException.BadVersionException (ZooKeeper 3.4.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.zookeeper +
+Class KeeperException.BadVersionException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.zookeeper.KeeperException
+              extended by org.apache.zookeeper.KeeperException.BadVersionException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
Enclosing class:
KeeperException
+
+
+
+
public static class KeeperException.BadVersionException
extends KeeperException
+ + +

+

+
See Also:
KeeperException.Code.BADVERSION, +Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.zookeeper.KeeperException
KeeperException.APIErrorException, KeeperException.AuthFailedException, KeeperException.BadArgumentsException, KeeperException.BadVersionException, KeeperException.Code, KeeperException.CodeDeprecated, KeeperException.ConnectionLossException, KeeperException.DataInconsistencyException, KeeperException.InvalidACLException, KeeperException.InvalidCallbackException, KeeperException.MarshallingErrorException, KeeperException.NoAuthException, KeeperException.NoChildrenForEphemeralsException, KeeperException.NodeExistsException, KeeperException.NoNodeException, KeeperException.NotEmptyException, KeeperException.NotReadOnlyException, KeeperException.OperationTimeoutException, KeeperException.RuntimeInconsistencyException, KeeperException.SessionExpiredException, KeeperException.SessionMovedException, KeeperException.SystemErrorException, KeeperException.UnimplementedException
+  + + + + + + + + + + + + + + +
+Constructor Summary
KeeperException.BadVersionException() + +
+           
KeeperException.BadVersionException(String path) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.zookeeper.KeeperException
code, create, create, create, create, getCode, getMessage, getPath, getResults, setCode
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+KeeperException.BadVersionException

+
+public KeeperException.BadVersionException()
+
+
+
+ +

+KeeperException.BadVersionException

+
+public KeeperException.BadVersionException(String path)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2011 The Apache Software Foundation + + Added: zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.Code.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.Code.html?rev=1225691&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.Code.html (added) +++ zookeeper/site/trunk/content/doc/r3.4.2/api/org/apache/zookeeper/KeeperException.Code.html Thu Dec 29 23:34:04 2011 @@ -0,0 +1,777 @@ + + + + + + +KeeperException.Code (ZooKeeper 3.4.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.zookeeper +
+Enum KeeperException.Code

+
+java.lang.Object
+  extended by java.lang.Enum<KeeperException.Code>
+      extended by org.apache.zookeeper.KeeperException.Code
+
+
+
All Implemented Interfaces:
Serializable, Comparable<KeeperException.Code>, KeeperException.CodeDeprecated
+
+
+
Enclosing class:
KeeperException
+
+
+
+
public static enum KeeperException.Code
extends Enum<KeeperException.Code>
implements KeeperException.CodeDeprecated
+ + +

+Codes which represent the various KeeperException + types. This enum replaces the deprecated earlier static final int + constants. The old, deprecated, values are in "camel case" while the new + enum values are in all CAPS. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
APIERROR + +
+          API errors.
AUTHFAILED + +
+          Client authentication failed
BADARGUMENTS + +
+          Invalid arguments
BADVERSION + +
+          Version conflict
CONNECTIONLOSS + +
+          Connection to the server has been lost
DATAINCONSISTENCY + +
+          A data inconsistency was found
INVALIDACL + +
+          Invalid ACL specified
INVALIDCALLBACK + +
+          Invalid callback specified
MARSHALLINGERROR + +
+          Error while marshalling or unmarshalling data
NOAUTH + +
+          Not authenticated
NOCHILDRENFOREPHEMERALS + +
+          Ephemeral nodes may not have children
NODEEXISTS + +
+          The node already exists
NONODE + +
+          Node does not exist
NOTEMPTY + +
+          The node has children
NOTREADONLY + +
+          State-changing request is passed to read-only server
OK + +
+          Everything is OK
OPERATIONTIMEOUT + +
+          Operation timeout
RUNTIMEINCONSISTENCY + +
+          A runtime inconsistency was found
SESSIONEXPIRED + +
+          The session has been expired by the server
SESSIONMOVED + +
+          Session moved to another server, so operation is ignored
SYSTEMERROR + +
+          System and server-side errors.
UNIMPLEMENTED + +
+          Operation is unimplemented
+ + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.zookeeper.KeeperException.CodeDeprecated
APIError, AuthFailed, BadArguments, BadVersion, ConnectionLoss, DataInconsistency, InvalidACL, InvalidCallback, MarshallingError, NoAuth, NoChildrenForEphemerals, NodeExists, NoNode, NotEmpty, Ok, OperationTimeout, RuntimeInconsistency, SessionExpired, SystemError, Unimplemented
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static KeeperException.Codeget(int code) + +
+          Get the Code value for a particular integer error code
+ intintValue() + +
+          Get the int value for a particular Code.
+static KeeperException.CodevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static KeeperException.Code[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+OK

+
+public static final KeeperException.Code OK
+
+
Everything is OK +

+

+
+
+
+ +

+SYSTEMERROR

+
+public static final KeeperException.Code SYSTEMERROR
+
+
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 APIERROR, are system errors. +

+

+
+
+
+ +

+RUNTIMEINCONSISTENCY

+
+public static final KeeperException.Code RUNTIMEINCONSISTENCY
+
+
A runtime inconsistency was found +

+

+
+
+
+ +

+DATAINCONSISTENCY

+
+public static final KeeperException.Code DATAINCONSISTENCY
+
+
A data inconsistency was found +

+

+
+
+
+ +

+CONNECTIONLOSS

+
+public static final KeeperException.Code CONNECTIONLOSS
+
+
Connection to the server has been lost +

+

+
+
+
+ +

+MARSHALLINGERROR

+
+public static final KeeperException.Code MARSHALLINGERROR
+
+
Error while marshalling or unmarshalling data +

+

+
+
+
+ +

+UNIMPLEMENTED

+
+public static final KeeperException.Code UNIMPLEMENTED
+
+
Operation is unimplemented +

+

+
+
+
+ +

+OPERATIONTIMEOUT

+
+public static final KeeperException.Code OPERATIONTIMEOUT
+
+
Operation timeout +

+

+
+
+
+ +

+BADARGUMENTS

+
+public static final KeeperException.Code BADARGUMENTS
+
+
Invalid arguments +

+

+
+
+
+ +

+APIERROR

+
+public static final KeeperException.Code APIERROR
+
+
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 + SYSTEMERROR). +

+

+
+
+
+ +

+NONODE

+
+public static final KeeperException.Code NONODE
+
+
Node does not exist +

+

+
+
+
+ +

+NOAUTH

+
+public static final KeeperException.Code NOAUTH
+
+
Not authenticated +

+

+
+
+
+ +

+BADVERSION

+
+public static final KeeperException.Code BADVERSION
+
+
Version conflict +

+

+
+
+
+ +

+NOCHILDRENFOREPHEMERALS

+
+public static final KeeperException.Code NOCHILDRENFOREPHEMERALS
+
+
Ephemeral nodes may not have children +

+

+
+
+
+ +

+NODEEXISTS

+
+public static final KeeperException.Code NODEEXISTS
+
+
The node already exists +

+

+
+
+
+ +

+NOTEMPTY

+
+public static final KeeperException.Code NOTEMPTY
+
+
The node has children +

+

+
+
+
+ +

+SESSIONEXPIRED

+
+public static final KeeperException.Code SESSIONEXPIRED
+
+
The session has been expired by the server +

+

+
+
+
+ +

+INVALIDCALLBACK

+
+public static final KeeperException.Code INVALIDCALLBACK
+
+
Invalid callback specified +

+

+
+
+
+ +

+INVALIDACL

+
+public static final KeeperException.Code INVALIDACL
+
+
Invalid ACL specified +

+

+
+
+
+ +

+AUTHFAILED

+
+public static final KeeperException.Code AUTHFAILED
+
+
Client authentication failed +

+

+
+
+
+ +

+SESSIONMOVED

+
+public static final KeeperException.Code SESSIONMOVED
+
+
Session moved to another server, so operation is ignored +

+

+
+
+
+ +

+NOTREADONLY

+
+public static final KeeperException.Code NOTREADONLY
+
+
State-changing request is passed to read-only server +

+

+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static KeeperException.Code[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (KeeperException.Code c : KeeperException.Code.values())
+    System.out.println(c);
+
+

+

+
+
+
+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static KeeperException.Code valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
+
+
+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+intValue

+
+public int intValue()
+
+
Get the int value for a particular Code. +

+

+
+
+
+ +
Returns:
error code as integer
+
+
+
+ +

+get

+
+public static KeeperException.Code get(int code)
+
+
Get the Code value for a particular integer error code +

+

+
+
+
+
Parameters:
code - int error code +
Returns:
Code value corresponding to specified int code, or null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2011 The Apache Software Foundation + +