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