org.apache.zookeeper
Class OpResult.ErrorResult

java.lang.Object
  extended by org.apache.zookeeper.OpResult
      extended by org.apache.zookeeper.OpResult.ErrorResult
Enclosing class:
OpResult

public static class OpResult.ErrorResult
extends OpResult

An error result from any kind of operation. The point of error results is that they contain an error code which helps understand what happened.

See Also:
KeeperException.Code

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.zookeeper.OpResult
OpResult.CheckResult, OpResult.CreateResult, OpResult.DeleteResult, OpResult.ErrorResult, OpResult.SetDataResult
 
Constructor Summary
OpResult.ErrorResult(int err)
           
 
Method Summary
 boolean equals(Object o)
           
 int getErr()
           
 int hashCode()
           
 
Methods inherited from class org.apache.zookeeper.OpResult
getType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpResult.ErrorResult

public OpResult.ErrorResult(int err)
Method Detail

getErr

public int getErr()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 The Apache Software Foundation