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 the Request.errorCode method. Note that according to the RPC protocol, applications may define custom error codes with values 65536 (0x10000) and greater.
  • Field Details

    • NONE

      public static final int NONE
      No error (0)
      See Also:
    • GENERAL_ERROR

      public static final int GENERAL_ERROR
      General error (100)
      See Also:
    • NOT_IMPLEMENTED

      public static final int NOT_IMPLEMENTED
      Not implemented (101)
      See Also:
    • ABORT

      public static final int ABORT
      Invocation aborted (102)
      See Also:
    • TIMEOUT

      public static final int TIMEOUT
      Invocation timed out (103)
      See Also:
    • CONNECTION

      public static final int CONNECTION
      Connection error (104)
      See Also:
    • BAD_REQUEST

      public static final int BAD_REQUEST
      Bad request packet (105)
      See Also:
    • NO_SUCH_METHOD

      public static final int NO_SUCH_METHOD
      No such method (106)
      See Also:
    • WRONG_PARAMS

      public static final int WRONG_PARAMS
      Illegal parameters (107)
      See Also:
    • OVERLOAD

      public static final int OVERLOAD
      Request dropped due to server overload (108)
      See Also:
    • WRONG_RETURN

      public static final int WRONG_RETURN
      Illegal return values (109)
      See Also:
    • BAD_REPLY

      public static final int BAD_REPLY
      Bad reply packet (110)
      See Also:
    • METHOD_FAILED

      public static final int METHOD_FAILED
      Method failed (111)
      See Also:
    • PERMISSION_DENIED

      public static final int PERMISSION_DENIED
      Permission denied (112)
      See Also:
  • Constructor Details

    • ErrorCode

      public ErrorCode()