Code example for IOError

0
        try { 
            saxParser.parse(new File(fileName), this);
        } catch (SAXException se) {
            throw new RuntimeException(se);
        } catch (IOException ioe) {
            throw new IOError(ioe);
        } 
    } 
 
    @Override 
    public void startElement(String uri, String localName, String name, Attributes atts)
            throws SAXException { 
        if ("s".equals(name)) {
            inSentence = true;
        } else if ("h".equals(name)) {
            inHeadWord = true;
            currentId = atts.getValue("id");
            currentPos = atts.getValue("pos");
        } else if ("w".equals(name)) {
            inWord = true;
        }