fix cache configuration exception message