Fix incorrect exception messages in CacheManager::factory
Merge pull request #4 from camspiers/cache-man-exception-message

Fix incorrect exception messages in CacheManager::factory