File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
src/com/loopj/android/http Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4
4
<classpathentry kind =" src" path =" src" />
5
5
<classpathentry kind =" src" path =" gen" />
6
6
<classpathentry kind =" src" path =" examples" />
7
- <classpathentry kind =" output" path =" bin" />
7
+ <classpathentry kind =" output" path =" bin/classes " />
8
8
</classpath >
Original file line number Diff line number Diff line change 68
68
69
69
<!-- Compile and package a jar -->
70
70
<target name =" package" depends =" compile,jar" />
71
- </project >
71
+ </project >
Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ protected void handleSuccessMessage(String responseBody) {
69
69
onSuccess ((JSONObject )jsonResponse );
70
70
} else if (jsonResponse instanceof JSONArray ) {
71
71
onSuccess ((JSONArray )jsonResponse );
72
+ } else {
73
+ throw new JSONException ("Unexpected type " + jsonResponse .getClass ().getName ());
72
74
}
73
75
} catch (JSONException e ) {
74
76
onFailure (e , responseBody );
You can’t perform that action at this time.
0 commit comments