DiskElementDescriptor ded = (DiskElementDescriptor) keyHash.get(key);
if (ded != null) {
Serializable readObject = dataFile.readObject(ded.pos);
return ((DiskCacheObject) readObject).getCacheObject();
}
throw new DiskCacheException("The object " + key
+ " was not found in the diskCache.");
}