Home
last modified time | relevance | path

Searched refs:Sl4aErrors (Results 1 – 3 of 3) sorted by relevance

/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonRpcHandler.java20 import com.googlecode.android_scripting.Sl4aErrors;
55 return Sl4aErrors.JSON_RPC_REQUEST_NOT_JSON.toJson(JSONObject.NULL); in getResponse()
98 return Sl4aErrors.SESSION_INVALID.toJson(id, mSessionId); in getResponse()
102 return Sl4aErrors.JSON_RPC_UNKNOWN_RPC_METHOD.toJson(id, method); in getResponse()
109 return Sl4aErrors.JSON_RPC_FACADE_EXCEPTION_OCCURRED.toJson(id, t); in getResponse()
119 return Sl4aErrors.JSON_RPC_RESULT_NOT_JSON_VALID.toJson(id, e); in getResponse()
124 return Sl4aErrors.JSON_RPC_FAILED_TO_BUILD_RESULT.toJson(id, t); in getResponse()
146 return Sl4aErrors.JSON_RPC_MISSING_ID.toJson(id); in getValidationErrors()
151 return Sl4aErrors.JSON_RPC_MISSING_METHOD.toJson(id); in getValidationErrors()
153 return Sl4aErrors.JSON_RPC_METHOD_NOT_STRING.toJson(id); in getValidationErrors()
[all …]
DJsonRpcResult.java19 import com.googlecode.android_scripting.Sl4aErrors;
102 public static JSONObject error(Object id, Sl4aErrors sl4aError, Object details) in error()
130 Sl4aException exception = Sl4aErrors.JSON_RPC_UNKNOWN_EXCEPTION.getError(); in wtf()
/external/sl4a/Common/src/com/googlecode/android_scripting/
DSl4aErrors.java30 public enum Sl4aErrors { enum
56 Sl4aErrors(int errorCode, String errorMessage) { in Sl4aErrors() method in Sl4aErrors