* @return a DOM Document
* @throws DBException If a Database Exception occurs
*/
public void getDocument(Transaction tx, Object key, ContentHandler handler) throws DBException {
try {
DocumentTable dt = col.getDocument(tx, key);
if ( dt != null )
DTSMHelper.tableToSAX(dt, handler);
}
catch ( DTSMException e ) {
throw new DBException(FaultCodes.COL_CANNOT_RETRIEVE, "Error retrieving object '" + key + "'", e);