Added exception for configuration errors