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