20 references to ConfigurationErrorsException
System.Configuration.ConfigurationManager (20)
System\Configuration\AppSettingsSection.cs (1)
134throw new ConfigurationErrorsException(
System\Configuration\ConfigurationElement.cs (12)
523throw new ConfigurationErrorsException(SR.Format(SR.Config_base_element_locked, elementName), 1413throw new ConfigurationErrorsException(SR.Format(SR.Config_base_element_locked, reader.Name), reader); 1429throw new ConfigurationErrorsException( 1439throw new ConfigurationErrorsException( 1460throw new ConfigurationErrorsException( 1484throw new ConfigurationErrorsException( 1517throw new ConfigurationErrorsException( 1532throw new ConfigurationErrorsException( 1545throw new ConfigurationErrorsException( 1557throw new ConfigurationErrorsException( 1572throw new ConfigurationErrorsException(e.Message, reader); // give it some info 1731if (string.IsNullOrEmpty(ce.Filename)) ce = new ConfigurationErrorsException(ce.Message, reader);
System\Configuration\ConfigurationElementCollection.cs (1)
1124throw new ConfigurationErrorsException(
System\Configuration\ConfigurationSection.cs (1)
40throw new ConfigurationErrorsException(SR.Config_base_expected_to_find_element, reader);
System\Configuration\DefaultSection.cs (1)
52throw new ConfigurationErrorsException(SR.Config_base_expected_to_find_element, xmlReader);
System\Configuration\IgnoreSection.cs (1)
52throw new ConfigurationErrorsException(SR.Config_base_expected_to_find_element, xmlReader);
System\Configuration\MgmtConfigurationRecord.cs (3)
622throw new ConfigurationErrorsException(SR.Config_unexpected_element_end, 634throw new ConfigurationErrorsException(SR.Config_invalid_node_type, reader); 640throw new ConfigurationErrorsException(SR.Config_more_data_than_expected, reader);