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