pobj = PersistentStore.getPersistentObject(KEY);
cache = (CacheData)pobj.getContents();
}
catch (Exception e){
StaticDataHelper.log("EventCache(): " + e.toString());
throw new DataAccessException("error accessing cache.");
}
if(cache == null){
StaticDataHelper.log("EventCache: cache empty, initialize it.");
cache = new CacheData();