Code example for SAXException

Methods: getMessage

0
                    this.document = getDocumentBuilder()
                            .parse(getInputSource()); 
                } catch (SAXException se) {
                    throw new IOException(
                            "Couldn't read the XML representation. " 
                                    + se.getMessage());
                } 
            } else { 
                this.document = getDocumentBuilder().newDocument();
            } 
        } 
 
        return this.document;
    } 
 
    // [ifndef android] method 
    /** 
     * Returns a DOM source. 
     *  
     * @return A DOM source. 
     */