com.mongodb
Class ServerError

java.lang.Object
  extended by com.mongodb.ServerError

public class ServerError
extends java.lang.Object


Method Summary
 int getCode()
           
 java.lang.String getError()
           
 boolean isNotMasterError()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getError

public java.lang.String getError()

getCode

public int getCode()

isNotMasterError

public boolean isNotMasterError()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object