Code example for XmlPullParserException

0
      return "XML file " + fileName + " line #" + getLineNumber() + " (sorry, not yet implemented)";
    } 
 
    public String getNamespaceUri(int pos)
        throws XmlPullParserException { 
      throw new XmlPullParserException(
          "getNamespaceUri() not supported"); 
    } 
 
    public int getColumnNumber() { 
      // Android always returns -1 
      return -1; 
    } 
 
    public int getDepth() { 
      return mDepth;
    } 
 
    public String getText() {
      if (currentNode == null) {
        return "";