Added cause argument to ConfigurationException.