Code example for XmlPullParserException

Methods: printStackTrace

0
        try { 
            parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, false);
        } 
        catch (XmlPullParserException e) {
            // TODO Auto-generated catch block 
            e.printStackTrace();
        } 
	} 
     
	/** 
	 * Converts an Open311 Service List from XML to JSON 
	 *  
	 * @param xml 
	 * @return JSONArray 
	 * @throws XmlPullParserException  
	 * @throws IOException  
	 * @throws JSONException  
	 */ 
	public JSONArray parseServices(String xml) throws XmlPullParserException, IOException, JSONException {
    	InputStream is;