We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa45764 commit 5edc1baCopy full SHA for 5edc1ba
src/com/loopj/android/http/JsonHttpResponseHandler.java
@@ -101,7 +101,7 @@ protected void handleSuccessJsonMessage(Object jsonResponse) {
101
} else if(jsonResponse instanceof JSONArray) {
102
onSuccess((JSONArray)jsonResponse);
103
} else {
104
- onFailure(new JSONException("Unexpected type " + jsonResponse.getClass().getName()));
+ onFailure(new JSONException("Unexpected type " + jsonResponse.getClass().getName()), (JSONObject)null);
105
}
106
107
0 commit comments