isc_db_handle getDbHandle(FBConnectionRequestInfo cri) throws XAException { try { synchronized (freeDbHandles) { isc_db_handle db = (isc_db_handle)freeDbHandles.removeLast(); useDbHandle(db, 1); return db; } } catch (NoSuchElementException e)
isc_db_handle getDbHandle(FBConnectionRequestInfo cri) throws XAException { try
    isc_db_handle getDbHandle(FBConnectionRequestInfo cri) throws XAException {        try {            synchronized (freeDbHandles) {                isc_db_handle db = (isc_db_handle)freeDbHandles.removeLast();                useDbHandle(db, 1);                return db;            }        }         catch (NoSuchElementException e)         {            try             {                return createDbHandle(cri);            }            catch (GDSException ge)            {                log.error("GDS Exception in getDbHandle", ge);                throw new XAException(ge.getMessage());            } // end of try-catch        }    }