Package org.apache.zookeeper_voltpatches

Examples of org.apache.zookeeper_voltpatches.KeeperException$NoChildrenForEphemeralsException


            if (request.hdr != null && request.hdr.getType() == OpCode.error) {
                throw KeeperException.create(KeeperException.Code
                        .get(((ErrorTxn) request.txn).getErr()));
            }

            KeeperException ke = request.getException();
            if (ke != null) {
                throw ke;
            }

            if (LOG.isDebugEnabled()) {
View Full Code Here


     * @param path
     *            The ZooKeeper path being operated on.
     * @return The specialized exception, presumably to be thrown by the caller.
     */
    public static KeeperException create(Code code, String path) {
        KeeperException r = create(code);
        r.path = path;
        return r;
    }
View Full Code Here

     * @deprecated deprecated in 3.1.0, use {@link #create(Code, String)}
     *             instead
     */
    @Deprecated
    public static KeeperException create(int code, String path) {
        KeeperException r = create(Code.get(code));
        r.path = path;
        return r;
    }
View Full Code Here

TOP

Related Classes of org.apache.zookeeper_voltpatches.KeeperException$NoChildrenForEphemeralsException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.