# //die('{"jsonrpc" : "2.0", "error" : {"code": 100, "message": "Failed to open temp directory."}, "id" : "id"}'); # Hashtable<String,Object> _hs=new Hashtable<String, Object>(); # _hs.put("jsonrpc","2.0"); # Hashtable<String,Object> _hs_child=new Hashtable<String, Object>(); # _hs_child.put("code",errorCode); # _hs_child.put("message",errorMsg); # _hs.put("error",_hs_child); # _hs.put("id","id"); # return _hs;