1 type derived from ConfigurationException
System.Configuration (1)
System\Configuration\ConfigurationErrorsException.cs (1)
22
public class ConfigurationErrorsException :
ConfigurationException
{
126 references to ConfigurationException
System (5)
compmod\system\diagnostics\Switch.cs (1)
205
} catch (
ConfigurationException
) {
net\System\Net\Configuration\UriSection.cs (1)
191
catch (
ConfigurationException
) {
net\System\Net\WebUtility.cs (2)
324
catch (
ConfigurationException
) {
363
catch (
ConfigurationException
) {
sys\system\configuration\ConfigXmlDocument.cs (1)
44
get { return
ConfigurationException
.SafeFilename(_filename); }
System.Configuration (82)
System\Configuration\BaseConfigurationRecord.cs (12)
1824
catch (
ConfigurationException
ce) {
1895
catch (
ConfigurationException
ce) {
2457
catch (
ConfigurationException
ce) {
2467
catch (
ConfigurationException
ce) {
2496
catch (
ConfigurationException
ce) {
3069
catch (
ConfigurationException
ce) {
3091
catch (
ConfigurationException
ce) {
3108
catch (
ConfigurationException
ce) {
3125
catch (
ConfigurationException
ce) {
3172
catch (
ConfigurationException
ex) {
3196
List<
ConfigurationException
> localErrors = xmlUtil.SchemaErrors.RetrieveAndResetLocalErrors(isFileInput);
3479
catch (
ConfigurationException
e) {
System\Configuration\ConfigurationElement.cs (3)
1560
catch (
ConfigurationException
e) {
1708
catch (
ConfigurationException
ce) {
1749
catch (
ConfigurationException
) {
System\Configuration\ConfigurationErrorsException.cs (22)
34
private
ConfigurationException
[] _errors;
86
internal ConfigurationErrorsException(
ConfigurationException
e) :
91
internal ConfigurationErrorsException(ICollection<
ConfigurationException
> coll) :
95
_errors = new
ConfigurationException
[coll.Count];
101
this((
ConfigurationException
) (coll.Count > 0 ? coll[0] : null)) {
104
_errors = new
ConfigurationException
[coll.Count];
110
ConfigurationException
exception = (
ConfigurationException
) error;
115
static private
ConfigurationException
GetFirstException(ICollection<
ConfigurationException
> coll) {
116
foreach (
ConfigurationException
e in coll) {
123
static private string GetBareMessage(
ConfigurationException
e) {
131
static private Exception GetInnerException(
ConfigurationException
e) {
144
static private string GetUnsafeFilename(
ConfigurationException
e) {
152
static private int GetLineNumber(
ConfigurationException
e) {
182
_errors = new
ConfigurationException
[count];
191
if ( ( currentExceptionType != typeof(
ConfigurationException
) ) &&
196
_errors[i] = (
ConfigurationException
)
288
ConfigurationException
[] a = new
ConfigurationException
[] {e};
294
internal ICollection<
ConfigurationException
> ErrorsGeneric {
296
return (ICollection<
ConfigurationException
>) this.Errors;
System\Configuration\ConfigurationSchemaErrors.cs (8)
18
private List<
ConfigurationException
> _errorsLocal;
21
private List<
ConfigurationException
> _errorsGlobal;
26
private List<
ConfigurationException
> _errorsAll;
57
internal void AddError(
ConfigurationException
ce, ExceptionAction action) {
74
internal void SetSingleGlobalError(
ConfigurationException
ce) {
120
internal List<
ConfigurationException
> RetrieveAndResetLocalErrors(bool keepLocalErrors) {
121
List<
ConfigurationException
> list = _errorsLocal;
134
internal void AddSavedLocalErrors(ICollection<
ConfigurationException
> coll) {
System\Configuration\elementinformation.cs (4)
26
private
ConfigurationException
[] _errors;
155
private
ConfigurationException
[] GetReadOnlyErrorsList() {
158
ConfigurationException
[] exceptionList;
164
exceptionList = new
ConfigurationException
[arrayList.Count];
System\Configuration\ErrorsHelper.cs (11)
14
static internal int GetErrorCount(List<
ConfigurationException
> errors) {
18
static internal bool GetHasErrors(List<
ConfigurationException
> errors) {
22
static internal void AddError(ref List<
ConfigurationException
> errors,
ConfigurationException
e) {
27
errors = new List<
ConfigurationException
>();
35
ICollection<
ConfigurationException
> col = ce.ErrorsGeneric;
45
static internal void AddErrors(ref List<
ConfigurationException
> errors, ICollection<
ConfigurationException
> coll) {
51
foreach (
ConfigurationException
e in coll) {
56
static internal ConfigurationErrorsException GetErrorsException(List<
ConfigurationException
> errors) {
65
static internal void ThrowOnErrors(List<
ConfigurationException
> errors) {
System\Configuration\ExceptionUtil.cs (2)
64
ConfigurationException
deprecatedException = e as
ConfigurationException
;
System\Configuration\FactoryRecord.cs (4)
39
private List<
ConfigurationException
> _errors; // errors
54
ICollection<
ConfigurationException
> errors) {
297
internal List<
ConfigurationException
> Errors {
309
internal void AddErrors(ICollection<
ConfigurationException
> coll) {
System\Configuration\InvalidPropValue.cs (3)
26
private
ConfigurationException
_error;
28
internal InvalidPropValue(string value,
ConfigurationException
error) {
33
internal
ConfigurationException
Error {
System\Configuration\LocationSectionRecord.cs (5)
21
List<
ConfigurationException
> _errors; // errors
23
internal LocationSectionRecord(SectionXmlInfo sectionXmlInfo, List<
ConfigurationException
> errors) {
39
internal ICollection<
ConfigurationException
> Errors {
45
internal List<
ConfigurationException
> ErrorsList {
57
internal void AddError(
ConfigurationException
e) {
System\Configuration\SectionInput.cs (3)
39
private List<
ConfigurationException
> _errors;
41
internal SectionInput(SectionXmlInfo sectionXmlInfo, List<
ConfigurationException
> errors) {
113
internal ICollection<
ConfigurationException
> Errors {
System\Configuration\SectionRecord.cs (2)
365
private List<
ConfigurationException
> GetAllErrors() {
366
List<
ConfigurationException
> allErrors = null;
System\Configuration\TypeUtil.cs (1)
36
Assembly systemAssembly = typeof(
ConfigurationException
).Assembly;
System\Configuration\XmlUtil.cs (2)
256
ConfigurationException
ex = new ConfigurationErrorsException(
333
ConfigurationException
ex = new ConfigurationErrorsException(
System.Data (15)
fx\src\data\System\Data\Common\AdapterUtil.cs (15)
168
static internal
ConfigurationException
Configuration(string message) {
169
ConfigurationException
e = new ConfigurationErrorsException(message);
173
static internal
ConfigurationException
Configuration(string message, XmlNode node) {
174
ConfigurationException
e = new ConfigurationErrorsException(message, node);
727
static internal
ConfigurationException
ConfigProviderNotInstalled() {
730
static internal
ConfigurationException
ConfigProviderMissing() {
737
static internal
ConfigurationException
ConfigBaseNoChildNodes(XmlNode node) { // Res.Config_base_no_child_nodes
740
static internal
ConfigurationException
ConfigBaseElementsOnly(XmlNode node) { // Res.Config_base_elements_only
743
static internal
ConfigurationException
ConfigUnrecognizedAttributes(XmlNode node) { // Res.Config_base_unrecognized_attribute
746
static internal
ConfigurationException
ConfigUnrecognizedElement(XmlNode node) { // Res.Config_base_unrecognized_element
749
static internal
ConfigurationException
ConfigSectionsUnique(string sectionName) { // Res.Res.ConfigSectionsUnique
752
static internal
ConfigurationException
ConfigRequiredAttributeMissing(string name, XmlNode node) { // Res.Config_base_required_attribute_missing
755
static internal
ConfigurationException
ConfigRequiredAttributeEmpty(string name, XmlNode node) { // Res.Config_base_required_attribute_empty
875
static internal
ConfigurationException
ConfigUnableToLoadXmlMetaDataFile(string settingName){
879
static internal
ConfigurationException
ConfigWrongNumberOfValues(string settingName){
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\Scripts.cs (2)
119
catch (
ConfigurationException
) {
205
catch (
ConfigurationException
e) {
System.Web (19)
Configuration\HealthMonitoringSectionHelper.cs (1)
556
catch (
ConfigurationException
e) {
Configuration\ProvidersHelper.cs (2)
43
if (e is
ConfigurationException
)
74
if (e is
ConfigurationException
)
ErrorFormatter.cs (4)
474
foreach(
ConfigurationException
configurationError in configErrors.Errors) {
1855
internal ConfigErrorFormatter(System.Configuration.
ConfigurationException
e)
1922
ErrorFormatter nestedFormatter = GetFormatterForInnerException((
ConfigurationException
)_e);
1952
if (!(nested is
ConfigurationException
))
HttpException.cs (4)
230
if (inner is
ConfigurationException
)
232
ConfigurationException
ce = inner as
ConfigurationException
;
234
nestedFormatter = new ConfigErrorFormatter((
ConfigurationException
)inner);
HttpResponse.cs (3)
1256
ConfigurationException
ce = e as
ConfigurationException
;
1315
foreach (
ConfigurationException
ce in col) {
HttpRuntime.cs (1)
676
catch (
ConfigurationException
e) {
Management\WebEvents.cs (1)
343
if (e is
ConfigurationException
) {
Security\Cryptography\HomogenizingCryptoServiceWrapper.cs (1)
36
catch (
ConfigurationException
) {
UI\Page.cs (2)
4902
catch (System.Configuration.
ConfigurationException
) {
5223
catch (System.Configuration.
ConfigurationException
) {
System.Web.Entity.Design (2)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (2)
749
catch (
ConfigurationException
ce)
1345
catch (
ConfigurationException
ce)
System.Web.Extensions (1)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1798
catch (System.Configuration.
ConfigurationException
)