org.json.rpc.commons
Class JsonRpcErrorCodes

java.lang.Object
  extended by org.json.rpc.commons.JsonRpcErrorCodes

public final class JsonRpcErrorCodes
extends Object


Field Summary
static int INTERNAL_ERROR_CODE
           
static int INVALID_PARAMS_ERROR_CODE
           
static int INVALID_REQUEST_ERROR_CODE
           
static int METHOD_NOT_FOUND_ERROR_CODE
           
static int PARSE_ERROR_CODE
           
 
Method Summary
static int getServerError(int n)
          Server error range : (-32099..-32000)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARSE_ERROR_CODE

public static final int PARSE_ERROR_CODE
See Also:
Constant Field Values

INVALID_REQUEST_ERROR_CODE

public static final int INVALID_REQUEST_ERROR_CODE
See Also:
Constant Field Values

METHOD_NOT_FOUND_ERROR_CODE

public static final int METHOD_NOT_FOUND_ERROR_CODE
See Also:
Constant Field Values

INVALID_PARAMS_ERROR_CODE

public static final int INVALID_PARAMS_ERROR_CODE
See Also:
Constant Field Values

INTERNAL_ERROR_CODE

public static final int INTERNAL_ERROR_CODE
See Also:
Constant Field Values
Method Detail

getServerError

public static int getServerError(int n)
Server error range : (-32099..-32000)



Copyright © 2011 DevelNix. All Rights Reserved.