Package com.yahoo.jrt
Class ErrorCode
- java.lang.Object
-
- com.yahoo.jrt.ErrorCode
-
public class ErrorCode extends Object
This class contains the error codes defined by the RPC protocol. The error code associated with a request is obtained through theRequest.errorCode
method. Note that according to the RPC protocol, applications may define custom error codes with values 65536 (0x10000) and greater.
-
-
Field Summary
Fields Modifier and Type Field Description static int
ABORT
Invocation aborted (102)static int
BAD_REPLY
Bad reply packet (110)static int
BAD_REQUEST
Bad request packet (105)static int
CONNECTION
Connection error (104)static int
GENERAL_ERROR
General error (100)static int
METHOD_FAILED
Method failed (111)static int
NO_SUCH_METHOD
No such method (106)static int
NONE
No error (0)static int
NOT_IMPLEMENTED
Not implemented (101)static int
OVERLOAD
Request dropped due to server overload (108)static int
TIMEOUT
Invocation timed out (103)static int
WRONG_PARAMS
Illegal parameters (107)static int
WRONG_RETURN
Illegal return values (109)
-
Constructor Summary
Constructors Constructor Description ErrorCode()
-
-
-
Field Detail
-
NONE
public static final int NONE
No error (0)- See Also:
- Constant Field Values
-
GENERAL_ERROR
public static final int GENERAL_ERROR
General error (100)- See Also:
- Constant Field Values
-
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTED
Not implemented (101)- See Also:
- Constant Field Values
-
ABORT
public static final int ABORT
Invocation aborted (102)- See Also:
- Constant Field Values
-
TIMEOUT
public static final int TIMEOUT
Invocation timed out (103)- See Also:
- Constant Field Values
-
CONNECTION
public static final int CONNECTION
Connection error (104)- See Also:
- Constant Field Values
-
BAD_REQUEST
public static final int BAD_REQUEST
Bad request packet (105)- See Also:
- Constant Field Values
-
NO_SUCH_METHOD
public static final int NO_SUCH_METHOD
No such method (106)- See Also:
- Constant Field Values
-
WRONG_PARAMS
public static final int WRONG_PARAMS
Illegal parameters (107)- See Also:
- Constant Field Values
-
OVERLOAD
public static final int OVERLOAD
Request dropped due to server overload (108)- See Also:
- Constant Field Values
-
WRONG_RETURN
public static final int WRONG_RETURN
Illegal return values (109)- See Also:
- Constant Field Values
-
BAD_REPLY
public static final int BAD_REPLY
Bad reply packet (110)- See Also:
- Constant Field Values
-
METHOD_FAILED
public static final int METHOD_FAILED
Method failed (111)- See Also:
- Constant Field Values
-
-