Code example for ParserConfigurationException

Methods: printStackTrace

0
			sp.parse(new ByteArrayInputStream(xml.getBytes("UTF-8")), this);
 
		}catch(SAXException se) {
			se.printStackTrace();
		}catch(ParserConfigurationException pce) {
			pce.printStackTrace();
		}catch (IOException ie) {
			ie.printStackTrace();
		} 
		 
		return error;
	} 
	 
	//Event Handlers 
	public void startElement(String uri, String localName, String qName,
		Attributes attributes) throws SAXException {
		tempVal = new StringBuilder();
		depth++;
	} 
	 
	public void characters(char[] ch, int start, int length) throws SAXException {