public void put(Object key, Object pValue) throws CacheException {
try {
Element element = new Element((Serializable) key, (Serializable) pValue);
ehcache.put(element);
} catch (IllegalArgumentException e) {
throw new CacheException(e);
} catch (IllegalStateException e) {
throw new CacheException(e);
}
}