61 references to ExceptionUtil
System.Configuration (61)
System\Configuration\BaseConfigurationRecord.cs (13)
572
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, streamname, 0),
653
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, ConfigStreamInfo.StreamName, 0));
657
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, ConfigStreamInfo.StreamName, 0),
808
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, ConfigStreamInfo.StreamName, lineNumber),
1740
throw
ExceptionUtil
.WrapAsConfigException(
2043
throw
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, filename, lineNumber);
2142
throw
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_exception_creating_section_handler, factoryRecord.ConfigKey), e, filename, line);
2248
throw
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_exception_creating_section_handler, factoryRecord.ConfigKey), e, factoryRecord);
3167
throw
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_source_invalid), e, xmlUtil);
3588
throw
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_tag_name_invalid), e, errorInfo);
3993
throw
ExceptionUtil
.UnexpectedError("BaseConfigurationRecord::hlClearResultRecursive");
4198
throw
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.ConfigBuilder_processSection_error,
4309
throw
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.ConfigBuilder_processXml_error_short, configBuilder.Name), e, null);
System\Configuration\ClientConfigPaths.cs (1)
133
throw
ExceptionUtil
.ParameterInvalid("exePath");
System\Configuration\ClientConfigurationHost.cs (11)
153
throw
ExceptionUtil
.UnexpectedError("ClientConfigurationHost::Init");
190
throw
ExceptionUtil
.UnexpectedError("ClientConfigurationHost::Init");
358
throw
ExceptionUtil
.UnexpectedError("ClientConfigurationHost::OpenStreamForWrite");
367
throw
ExceptionUtil
.UnexpectedError("ClientConfigurationHost::Delete");
411
throw
ExceptionUtil
.UnexpectedError("ClientConfigurationHost::IsDefinitionAllowed");
435
throw
ExceptionUtil
.UnexpectedError("ClientConfigurationHost::VerifyDefinitionAllowed");
558
throw
ExceptionUtil
.ParameterInvalid("userLevel");
569
throw
ExceptionUtil
.ParameterNullOrEmpty("fileMap.MachineConfigFilename");
577
throw
ExceptionUtil
.ParameterNullOrEmpty("fileMap.ExeConfigFilename");
584
throw
ExceptionUtil
.ParameterNullOrEmpty("fileMap.RoamingUserConfigFilename");
591
throw
ExceptionUtil
.ParameterNullOrEmpty("fileMap.LocalUserConfigFilename");
System\Configuration\Configuration.cs (3)
65
throw
ExceptionUtil
.UnexpectedError("Configuration::ctor");
69
throw
ExceptionUtil
.UnexpectedError("Configuration::ctor");
220
throw
ExceptionUtil
.ParameterNullOrEmpty("filename");
System\Configuration\ConfigurationErrorsException.cs (1)
193
throw
ExceptionUtil
.UnexpectedError( "ConfigurationErrorsException" );
System\Configuration\ConfigurationPermission.cs (4)
55
throw
ExceptionUtil
.ParameterInvalid("state");
88
throw
ExceptionUtil
.ParameterInvalid("target");
111
throw
ExceptionUtil
.ParameterInvalid("target");
133
throw
ExceptionUtil
.ParameterInvalid("target");
System\Configuration\ConfigurationSectionCollection.cs (1)
144
throw
ExceptionUtil
.ParameterNullOrEmpty("name");
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
150
throw
ExceptionUtil
.ParameterNullOrEmpty("name");
System\Configuration\ExceptionUtil.cs (1)
96
SR.GetString(SR.Wrapped_exception_message, outerMessage,
ExceptionUtil
.NoExceptionInformation),
System\Configuration\Internal\InternalConfigHost.cs (11)
66
throw
ExceptionUtil
.UnexpectedError("IInternalConfigHost.GetStreamName");
87
throw
ExceptionUtil
.ParameterInvalid("streamName");
137
throw
ExceptionUtil
.UnexpectedError("InternalConfigHost::StaticOpenStreamForRead");
343
throw
ExceptionUtil
.UnexpectedError("IInternalConfigHost.StartMonitoringStreamForChanges");
347
throw
ExceptionUtil
.UnexpectedError("IInternalConfigHost.StopMonitoringStreamForChanges");
373
throw
ExceptionUtil
.UnexpectedError("IInternalConfigHost.IsAboveApplication");
377
throw
ExceptionUtil
.UnexpectedError("IInternalConfigHost.GetConfigPathFromLocationSubPath");
381
throw
ExceptionUtil
.UnexpectedError("IInternalConfigHost.IsLocationApplicable");
385
throw
ExceptionUtil
.UnexpectedError("IInternalConfigHost.IsTrustedConfigPath");
414
throw
ExceptionUtil
.UnexpectedError("IInternalConfigHost.CreateDeprecatedConfigContext");
423
throw
ExceptionUtil
.UnexpectedError("IInternalConfigHost.CreateConfigurationContext");
System\Configuration\Internal\InternalConfigRoot.cs (6)
84
throw
ExceptionUtil
.UnexpectedError("System.Configuration.Internal.InternalConfigRoot::AcquireHierarchyLockForRead - reader lock already held by this thread");
89
throw
ExceptionUtil
.UnexpectedError("System.Configuration.Internal.InternalConfigRoot::AcquireHierarchyLockForRead - writer lock already held by this thread");
108
throw
ExceptionUtil
.UnexpectedError("System.Configuration.Internal.InternalConfigRoot::AcquireHierarchyLockForWrite - reader lock already held by this thread");
112
throw
ExceptionUtil
.UnexpectedError("System.Configuration.Internal.InternalConfigRoot::AcquireHierarchyLockForWrite - writer lock already held by this thread");
191
throw
ExceptionUtil
.ParameterInvalid("configPath");
271
throw
ExceptionUtil
.ParameterInvalid("configPath");
System\Configuration\MgmtConfigurationRecord.cs (5)
306
throw
ExceptionUtil
.ParameterInvalid("sectionGroupName");
950
throw
ExceptionUtil
.ParameterInvalid("name");
1275
throw
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, ConfigStreamInfo.StreamName, 0);
1433
throw
ExceptionUtil
.PropertyInvalid("AllowExeDefinition");
3154
throw
ExceptionUtil
.WrapAsConfigException(SR.GetString(SR.Config_error_loading_XML_file), e, configSourceStreamName, 0);
System\Configuration\RegexStringValidator.cs (1)
28
throw
ExceptionUtil
.ParameterNullOrEmpty("regex");
System\Configuration\SectionInformation.cs (1)
738
throw
ExceptionUtil
.PropertyNullOrEmpty("Type");
System\Configuration\UrlPath.cs (1)
167
throw
ExceptionUtil
.ParameterInvalid("filename");