Code example for SAXParseException

Methods: getColumnNumber, getLineNumber, getPublicId, getSystemId

0
            } 
 
            mySink.complete();
 
        } catch (SAXParseException e) {
            throw new OsmosisRuntimeException( 
                    "Unable to parse xml" 
                    + ".  publicId=(" + e.getPublicId()
                    + "), systemId=(" + e.getSystemId()
                    + "), lineNumber=" + e.getLineNumber()
                    + ", columnNumber=" + e.getColumnNumber() + ".",
                    e);
        } catch (SAXException e) {
            throw new OsmosisRuntimeException("Unable to parse XML.", e);
        } catch (IOException e) {
            throw new OsmosisRuntimeException("Unable to read XML.", e);
        } finally { 
            mySink.release();
 
            cleanup(); 
        }