added exception for cache service when providered a invalid expiore time