Added custom exceptions for the config and cache component