Package com.yahoo.jrt
Class ErrorCode
java.lang.Object
com.yahoo.jrt.ErrorCode
This class contains the error codes defined by the RPC
protocol. The error code associated with a request is obtained
through the
Request.errorCode
method. Note that according to
the RPC protocol, applications may define custom error codes with
values 65536 (0x10000) and greater.-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Invocation aborted (102)static final int
Bad reply packet (110)static final int
Bad request packet (105)static final int
Connection error (104)static final int
General error (100)static final int
Method failed (111)static final int
No such method (106)static final int
No error (0)static final int
Not implemented (101)static final int
Request dropped due to server overload (108)static final int
Permission denied (112)static final int
Invocation timed out (103)static final int
Illegal parameters (107)static final int
Illegal return values (109) -
Constructor Summary
-
Method Summary
-
Field Details
-
NONE
public static final int NONENo error (0)- See Also:
-
GENERAL_ERROR
public static final int GENERAL_ERRORGeneral error (100)- See Also:
-
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTEDNot implemented (101)- See Also:
-
ABORT
public static final int ABORTInvocation aborted (102)- See Also:
-
TIMEOUT
public static final int TIMEOUTInvocation timed out (103)- See Also:
-
CONNECTION
public static final int CONNECTIONConnection error (104)- See Also:
-
BAD_REQUEST
public static final int BAD_REQUESTBad request packet (105)- See Also:
-
NO_SUCH_METHOD
public static final int NO_SUCH_METHODNo such method (106)- See Also:
-
WRONG_PARAMS
public static final int WRONG_PARAMSIllegal parameters (107)- See Also:
-
OVERLOAD
public static final int OVERLOADRequest dropped due to server overload (108)- See Also:
-
WRONG_RETURN
public static final int WRONG_RETURNIllegal return values (109)- See Also:
-
BAD_REPLY
public static final int BAD_REPLYBad reply packet (110)- See Also:
-
METHOD_FAILED
public static final int METHOD_FAILEDMethod failed (111)- See Also:
-
PERMISSION_DENIED
public static final int PERMISSION_DENIEDPermission denied (112)- See Also:
-
-
Constructor Details
-
ErrorCode
public ErrorCode()
-