Code example for SAXParseException

Methods: getLineNumber, getMessage, getSystemId, printStackTrace

0
/*     */  
/* 195 */       localXMLReader.parse(localInputSource);
/*     */     } 
/*     */     catch (SAXParseException localSAXParseException)
/*     */     { 
/* 199 */       System.out.println("** Parsing error, line " + localSAXParseException.getLineNumber() + ", uri " + localSAXParseException.getSystemId());
/*     */  
/* 202 */       System.out.println("   " + localSAXParseException.getMessage());
/* 203 */       localSAXParseException.printStackTrace();
/* 204 */       throw new SQLException(localSAXParseException.getMessage());
/*     */     } 
/*     */     catch (SAXNotRecognizedException localSAXNotRecognizedException)
/*     */     { 
/* 211 */       localSAXNotRecognizedException.printStackTrace();
/* 212 */       throw new SQLException("readXMLSax: SAXNotRecognizedException: " + localSAXNotRecognizedException.getMessage());
/*     */     } 
/*     */     catch (SAXException localSAXException)
/*     */     { 
/* 216 */       localSAXException.printStackTrace();
/* 217 */       throw new SQLException("readXMLSax: SAXException: " + localSAXException.getMessage());
/*     */     }