Code example for ParseException

Methods: toString

0
				if(jsonResponse != null) {
					jsonObjResponse = new JSONObject(jsonResponse);
					return true; 
				} 
			} catch (ParseException e) {
				Log.e(ACTIVITY_LOG_TAG, e.toString());
			} catch (JSONException e) {
				Log.e(ACTIVITY_LOG_TAG, e.toString());
			} 
 
			return false; 
		} 
 
		@Override 
		protected void onPostExecute(Boolean hasSent) {
			pDialog.dismiss();
 
			if(hasSent == true) {
				/*try { 
					messages.add(new MessagePack(jsonObjResponse.getString("user_id"), jsonObjResponse.getString("content"))); 
					adapter.notifyDataSetChanged();