transact.abort(transaction);
throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR, e.getMessage(), e);
} finally {
transact.close(transaction);
if(collection != null) {
collection.release(Lock.WRITE_LOCK);
}
brokerPool.release(broker);
brokerPool.setSubject(subject);
}
}