Commit 73116ce4 authored by djamel's avatar djamel

correction des erreurs de comm avec le serveur pendant la lecture du QRCode

parent 1ec8d688
......@@ -187,6 +187,16 @@ public class Read_QR_Code extends ActionBarActivity implements View.OnClickListe
public void onFailure(int statusCode, Header[] headers, String responseString, Throwable throwable) {
display(getString(R.string.serverError), false);
}
@Override
public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONObject errorResponse) {
display(getString(R.string.serverError), false);
}
@Override
public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONArray errorResponse) {
display(getString(R.string.serverError), false);
}
});
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment