throw new UnreadableSessionDataException(expectedId, _context, e);
@Override public SessionData doLoad( String id ) throws Exception { try { if (LOG.isDebugEnabled()) LOG.debug( "Loading session {} from hazelcast", id ); SessionData sd = sessionDataMap.get( getCacheKey( id ) ); return sd; } catch (Exception e) { throw new UnreadableSessionDataException(id, _context, e); } }
throw new UnreadableSessionDataException (id, _context, e);
@Override public SessionData doLoad(String id) throws Exception { if (LOG.isDebugEnabled()) LOG.debug("Loading session {} from DataStore", id); try { Entity entity = _datastore.get(makeKey(id, _context)); if (entity == null) { if (LOG.isDebugEnabled()) LOG.debug("No session {} in DataStore ", id); return null; } else { return sessionFromEntity(entity); } } catch (Exception e) { throw new UnreadableSessionDataException(id, _context, e); } }
@Override public SessionData doLoad(String id) throws Exception { try { if (LOG.isDebugEnabled()) LOG.debug("Loading session {} from infinispan", id); InfinispanSessionData sd = (InfinispanSessionData)_cache.get(getCacheKey(id)); if (isPassivating() && sd != null) { if (LOG.isDebugEnabled()) LOG.debug("Deserializing session attributes for {}", id); sd.deserializeAttributes(); } return sd; } catch (Exception e) { throw new UnreadableSessionDataException(id, _context, e); } }
throw (new UnreadableSessionDataException(id, _context, e));
throw new UnreadableSessionDataException (id, _context, e);