org.I0Itec.zkclient.exception
Class ZkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.I0Itec.zkclient.exception.ZkException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ZkBadVersionException, ZkInterruptedException, ZkMarshallingError, ZkNodeExistsException, ZkNoNodeException, ZkTimeoutException

public class ZkException
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
ZkException()
           
ZkException(java.lang.String message)
           
ZkException(java.lang.String message, java.lang.Throwable cause)
           
ZkException(java.lang.Throwable cause)
           
 
Method Summary
static ZkException create(org.apache.zookeeper.KeeperException e)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZkException

public ZkException()

ZkException

public ZkException(java.lang.String message,
                   java.lang.Throwable cause)

ZkException

public ZkException(java.lang.String message)

ZkException

public ZkException(java.lang.Throwable cause)
Method Detail

create

public static ZkException create(org.apache.zookeeper.KeeperException e)