transact.abort(transaction);
throw new XMLDBException(ErrorCodes.INVALID_COLLECTION,
"Collection " + collName + " not found");
}
LOG.debug( "removing collection " + collName );
broker.removeCollection(transaction, collection);
transact.commit(transaction);
} catch ( final EXistException e ) {
transact.abort(transaction);
e.printStackTrace();
throw new XMLDBException( ErrorCodes.VENDOR_ERROR,