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