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
FieldsModifier and TypeFieldDescriptionstatic final intInvocation aborted (102)static final intBad reply packet (110)static final intBad request packet (105)static final intConnection error (104)static final intGeneral error (100)static final intMethod failed (111)static final intNo such method (106)static final intNo error (0)static final intNot implemented (101)static final intRequest dropped due to server overload (108)static final intPermission denied (112)static final intInvocation timed out (103)static final intIllegal parameters (107)static final intIllegal return values (109) -
Constructor Summary
Constructors -
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()
-