Fixed compilation errors, take 2

pull/14/head
Sam Bosley 12 years ago
parent ce933b3b3e
commit 1445e06b86

@ -110,7 +110,7 @@ public class ActFmInvoker {
Log.e("act-fm-invoke-response", response);
JSONObject object = new JSONObject(response);
if(object.getString("status").equals("error"))
throw new ActFmServiceException(object.getString("message"));
throw new ActFmServiceException(object.getString("message"), object);
return object;
} catch (JSONException e) {
throw new IOException(e.getMessage());
@ -139,7 +139,7 @@ public class ActFmInvoker {
Log.e("act-fm-post-response", response);
JSONObject object = new JSONObject(response);
if(object.getString("status").equals("error"))
throw new ActFmServiceException(object.getString("message"));
throw new ActFmServiceException(object.getString("message"), object);
return object;
} catch (JSONException e) {
throw new IOException(e.getMessage());

Loading…
Cancel
Save