Code example for ParseException

Methods: printStackTrace

0
	    	      } 
	    	      } 
	    	      catch(JSONException e1){
	    	       Toast.makeText(getBaseContext(), "No Data Found" ,Toast.LENGTH_LONG).show();
	    	      } catch (ParseException e1) {
	    	   e1.printStackTrace();
	    	 } 
	    } 
 
	    private String readStream(InputStream in) {
			// TODO Auto-generated method stub 
			try { 
			      ByteArrayOutputStream bo = new ByteArrayOutputStream();
			      int i = in.read();
			      while(i != -1) {
			        bo.write(i);
			        i = in.read();
			      } 
			      return bo.toString();
			    } catch (IOException e) {
			      return "";