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 44 <classpathentry kind =" src" path =" src" />
55 <classpathentry kind =" src" path =" gen" />
66 <classpathentry kind =" src" path =" examples" />
7- <classpathentry kind =" output" path =" bin" />
7+ <classpathentry kind =" output" path =" bin/classes " />
88</classpath >
Original file line number Diff line number Diff line change 6868
6969 <!-- Compile and package a jar -->
7070 <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) {
6969 onSuccess ((JSONObject )jsonResponse );
7070 } else if (jsonResponse instanceof JSONArray ) {
7171 onSuccess ((JSONArray )jsonResponse );
72+ } else {
73+ throw new JSONException ("Unexpected type " + jsonResponse .getClass ().getName ());
7274 }
7375 } catch (JSONException e ) {
7476 onFailure (e , responseBody );
You can’t perform that action at this time.
0 commit comments