Be specific about Exception types. JSONException, IOException, whatever else is thrown.