Code example for ParserConfigurationException

Methods: e, getLocalizedMessage

0
			Log.e("LevelParser", e.getLocalizedMessage(), e);
		} catch (IOException e) {
			Log.e("LevelParser", e.getLocalizedMessage(), e);
			mListener.onError(e.getLocalizedMessage(), e);
		} catch (ParserConfigurationException e) {
			Log.e("LevelParser", e.getLocalizedMessage(), e);
			mListener.onError(e.getLocalizedMessage(), e);
		} 
		return null; 
	} 
 
	@Override 
	public void characters(char[] chs, int start, int length) throws SAXException {
		charsBuilder.append(chs, start, length);
	} 
 
	@Override 
	public void endDocument() throws SAXException { 
		if (!tagStack.empty()) {
			throw new SAXException("Parse Error: Reached end of document without end tag for: " + tagStack.pop());
		}