Code example for CacheException

0
        } catch (InstantiationException e) { 
            throw new CacheException("Could not instantiate keyStrategy class", e);
        } catch (IllegalAccessException e) {
            throw new CacheException("Could not instantiate keyStrategy class", e);
        } catch (ClassNotFoundException e) {
            throw new CacheException("Could not instantiate keyStrategy class", e);
        } 
    } 
 
    /** 
     * No clue what this is for, Hibernate docs don't say. 
     * 
     * @return long {@link org.hibernate.cache.Timestamper#next()} 
     */ 
    public long nextTimestamp() { 
        return System.currentTimeMillis() / 100;
    } 
 
    public void start(Properties properties) throws CacheException {
        log.info("Starting MemcachedClient...");