Transaction tx = new Transaction();
try {
return DTSMHelper.tableToText(col.getDocument(tx, docName));
}
catch ( DTSMException e ) {
tx.cancel();
throw new DBException(FaultCodes.COL_CANNOT_RETRIEVE, "Can't retrieve '" + docName + "'", e);
}
catch ( DBException e ) {
tx.cancel();
throw e;