Code example for SAXException

Methods: getMessage

0
            throw new StreamIOException("BackendSecurityDeserializer: " 
                    + "Stream IO problem while parsing backend security config file."); 
        } catch (SAXException se) {
            throw new GeneralException("BackendSecurityDeserializer: " 
                    + "Error parsing backend security config file. " 
                    + se.getMessage());
        } 
        if (!tmp_rootElementFound) {
            throw new GeneralException("BackendSecurityDeserializer: " 
                    + "Root element not found in backend security config file."); 
        } 
 
        logger.debug("Parse successful."); 
        return beSS;
    } 
 
    @Override 
    public void startElement(String uri,
                             String localName,
                             String qName,
                             Attributes a) throws SAXException {