Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 06F2F200C6B for ; Mon, 17 Apr 2017 19:22:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 058BB160BC1; Mon, 17 Apr 2017 17:22:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D4BF6160BB2 for ; Mon, 17 Apr 2017 19:22:14 +0200 (CEST) Received: (qmail 54987 invoked by uid 500); 17 Apr 2017 17:22:13 -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@zookeeper.apache.org Delivered-To: mailing list commits@zookeeper.apache.org Received: (qmail 54937 invoked by uid 99); 17 Apr 2017 17:22:13 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2017 17:22:13 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 2F4853A51ED for ; Mon, 17 Apr 2017 17:22:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1010623 [7/50] - in /websites/staging/zookeeper/trunk/content: ./ doc/r3.5.3-beta/ doc/r3.5.3-beta/api/ doc/r3.5.3-beta/api/org/ doc/r3.5.3-beta/api/org/apache/ doc/r3.5.3-beta/api/org/apache/zookeeper/ doc/r3.5.3-beta/api/org/apache/zooke... Date: Mon, 17 Apr 2017 17:22:10 -0000 To: commits@zookeeper.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170417172212.2F4853A51ED@svn01-us-west.apache.org> archived-at: Mon, 17 Apr 2017 17:22:17 -0000 Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/KeeperException.Code.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/KeeperException.Code.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/KeeperException.Code.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,786 @@ + + + + + +KeeperException.Code (ZooKeeper 3.5.3-beta API) + + + + + + + + + + + +
+
org.apache.zookeeper
+

Enum KeeperException.Code

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + + + + + +
        +
      • +

        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
        +
      • +
      + + + + + + + +
        +
      • +

        NEWCONFIGNOQUORUM

        +
        public static final KeeperException.Code NEWCONFIGNOQUORUM
        +
        No quorum of new config is connected and up-to-date with the leader of last commmitted config - try + invoking reconfiguration after new servers are connected and synced
        +
      • +
      + + + +
        +
      • +

        RECONFIGINPROGRESS

        +
        public static final KeeperException.Code RECONFIGINPROGRESS
        +
        Another reconfiguration is in progress -- concurrent reconfigs not supported (yet)
        +
      • +
      + + + +
        +
      • +

        UNKNOWNSESSION

        +
        public static final KeeperException.Code UNKNOWNSESSION
        +
        Unknown session (internal server use only)
        +
      • +
      + + + +
        +
      • +

        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).
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        BADVERSION

        +
        public static final KeeperException.Code BADVERSION
        +
        Version conflict + In case of reconfiguration: reconfig requested from config version X but last seen config has a different version Y
        +
      • +
      + + + +
        +
      • +

        NOCHILDRENFOREPHEMERALS

        +
        public static final KeeperException.Code NOCHILDRENFOREPHEMERALS
        +
        Ephemeral nodes may not have 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
        +
      • +
      + + + + + + + +
        +
      • +

        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
        +
      • +
      + + + +
        +
      • +

        EPHEMERALONLOCALSESSION

        +
        public static final KeeperException.Code EPHEMERALONLOCALSESSION
        +
        Attempt to create ephemeral node on a local session
        +
      • +
      + + + +
        +
      • +

        NOWATCHER

        +
        public static final KeeperException.Code NOWATCHER
        +
        Attempts to remove a non-existing watcher
        +
      • +
      + + + +
        +
      • +

        RECONFIGDISABLED

        +
        public static final KeeperException.Code RECONFIGDISABLED
        +
        Attempts to perform a reconfiguration operation when reconfiguration feature is disabled.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      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 © 2017 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/KeeperException.CodeDeprecated.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/KeeperException.CodeDeprecated.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.5.3-beta/api/org/apache/zookeeper/KeeperException.CodeDeprecated.html Mon Apr 17 17:22:07 2017 @@ -0,0 +1,716 @@ + + + + + +KeeperException.CodeDeprecated (ZooKeeper 3.5.3-beta API) + + + + + + + + + + + +
+
org.apache.zookeeper
+

Interface KeeperException.CodeDeprecated

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    KeeperException.Code
    +
    +
    +
    Enclosing class:
    +
    KeeperException
    +
    +
    +
    Deprecated.
    +
    +
    @Deprecated
    +public static interface KeeperException.CodeDeprecated
    +
    This interface contains the original static final int constants + which have now been replaced with an enumeration in Code. Do not + reference this class directly, if necessary (legacy code) continue + to access the constants through Code. + Note: an interface is used here due to the fact that enums cannot + reference constants defined within the same enum as said constants + are considered initialized _after_ the enum itself. By using an + interface as a super type this allows the deprecated constants to + be initialized first and referenced when constructing the enums. I + didn't want to have constants declared twice. This + interface should be private, but it's declared public to enable + javadoc to include in the user API spec.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2017 The Apache Software Foundation

+ +