def METHOD_NAME(self):
    """
    Raises an exception if the cache has expired, otherwise returns
    its data
    """
    if self.isCacheExpired():
        expiredSince = int(time()) - (self.lastUpdate + self.expiration)
        raise MemoryCacheException("Memory cache expired for %d seconds" % expiredSince)
    return self._cache