Code example for SAXException

Methods: getLocalizedMessage

0
        { 
            throw new FXGException(scanner.getStartLine(), scanner.getStartColumn(), "ErrorParsingFXG", ex.getLocalizedMessage(), ex);
        } 
        catch (SAXException ex)
        { 
            throw new FXGException(scanner.getStartLine(), scanner.getStartColumn(), "ErrorParsingFXG", ex.getLocalizedMessage(), ex);
        } 
        finally 
        { 
            stream.close();
        } 
    } 
 
    /** 
     * Registers a custom FXGNode for a particular type of element encountered  
     * while parsing an FXG document. 
     *  
     * This method must be called prior to parsing. 
     *  
     * @param version - the FXG version of the FXG element  
Contextual code suggestions in your IDE  Get Codota for Java