Revision 675
Added by berkley about 23 years ago
DBSAXHandler.java | ||
---|---|---|
181 | 181 |
docname, doctype, docid, action, user, |
182 | 182 |
this.serverCode); |
183 | 183 |
} catch (Exception ane) { |
184 |
throw (new SAXException("Error with " + action, ane)); |
|
184 |
throw (new SAXException("Error in DBSaxHandler.startElement " + |
|
185 |
action, ane)); |
|
185 | 186 |
} |
186 | 187 |
// not needed any more |
187 | 188 |
//rootNode.writeDocID(currentDocument.getDocID()); |
... | ... | |
251 | 252 |
dbconn.rollback(); |
252 | 253 |
dbconn.close(); |
253 | 254 |
} catch (SQLException sqle) {} |
254 |
System.out.println("Error writing ACL. " + e.getMessage()); |
|
255 |
System.out.println("Error writing ACL in DBSaxHandler.run " + |
|
256 |
e.getMessage()); |
|
255 | 257 |
} |
256 | 258 |
} |
257 | 259 |
|
... | ... | |
263 | 265 |
dbconn.rollback(); |
264 | 266 |
dbconn.close(); |
265 | 267 |
} catch (SQLException sqle) {} |
266 |
System.out.println("Error writing XML Index. " + e.getMessage()); |
|
268 |
System.out.println("Error writing XML Index in DBSaxHandler.run " + |
|
269 |
e.getMessage()); |
|
267 | 270 |
} |
268 | 271 |
} |
269 | 272 |
|
Also available in: Unified diff
added precise location information (class.method) to each catch statement so that errors are more easily traced.