@Deprecated
public class ServerError
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Deprecated.
Gets the error code
|
java.lang.String |
getError()
Deprecated.
Gets the error String
|
boolean |
isNotMasterError()
Deprecated.
returns true if the error is "not master", which usually happens when doing operation on slave
|
java.lang.String |
toString()
Deprecated.
|
public java.lang.String getError()
public int getCode()
public boolean isNotMasterError()
public java.lang.String toString()
toString
in class java.lang.Object