private K unmarshalKey(MarshalledValue<K, C> key) { try { return key.get(this.context); } catch (Exception e) { throw InfinispanEjbMessages.MESSAGES.deserializationFailure(e, key); } }
private E unmarshalEntry(K id, MarshalledValue<E, C> value) { if (value == null) return null; try { return value.get(this.context); } catch (Exception e) { throw InfinispanEjbMessages.MESSAGES.deserializationFailure(e, id); } }