Code example for ParserConfigurationException

Methods: printStackTrace, toString

0
			DocumentBuilder builder = factory.newDocumentBuilder();
			 
			mDoc = builder.parse(new InputSource(new StringReader(xml)));
			 
		} catch (ParserConfigurationException e) {
			e.printStackTrace();
			Log.e(TAG, "Failed parsing backup file.");
			Log.e(TAG, e.toString());
		} catch (SAXException e) {
			e.printStackTrace();
			Log.e(TAG, "Failed parsing backup file.");
			Log.e(TAG, e.toString());
		} catch (IOException e) {
			e.printStackTrace();
			Log.e(TAG, "Failed reading backup file from SD card.");
			Log.e(TAG, e.toString());
		} finally { 
			if (mDoc == null) {
				 
			} else { 
				mSchema = getSchema();