22 references to Exception
System.Data.Entity (7)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (2)
335AddError(ErrorCode.XmlError, severity, e.Exception.LineNumber, e.Exception.LinePosition, e.Message);
System\Data\Mapping\StorageMappingItemLoader.cs (5)
3574if (!string.IsNullOrEmpty(args.Exception.SourceUri)) 3576sourceLocation = Helper.GetFileNameFromUri(new Uri(args.Exception.SourceUri)); 3581EdmSchemaError error = new EdmSchemaError(Strings.Mapping_InvalidMappingSchema_validation(args.Exception.Message) 3582, (int)StorageMappingErrorCode.XmlSchemaValidationError, severity, sourceLocation, args.Exception.LineNumber, args.Exception.LinePosition);
System.Data.Services.Design (1)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
412throw e.Exception;
System.ServiceModel (3)
System\ServiceModel\Description\SchemaHelper.cs (3)
144if (args.Exception != null && args.Exception.SourceUri != null) 146XmlSchemaException ex = args.Exception;
System.Web.Extensions (2)
Compilation\WCFModel\MapFileLoader.cs (2)
78e.Exception, 83throw e.Exception;
System.Web.Services (5)
System\Web\Services\Description\SchemaCompiler.cs (1)
159Warnings.Add(Res.GetString(args.Severity == XmlSeverityType.Error ? Res.SchemaValidationError : Res.SchemaValidationWarning, WarningDetails(args.Exception, args.Message)));
System\Web\Services\Description\ServiceDescription.cs (2)
62warnings.Add(Res.GetString(Res.WsdlInstanceValidationDetails, args.Message, args.Exception.LineNumber.ToString(CultureInfo.InvariantCulture), args.Exception.LinePosition.ToString(CultureInfo.InvariantCulture)));
System\Web\Services\Description\WebReferenceOptions.cs (2)
158throw new InvalidOperationException(Res.GetString(Res.WsdlInstanceValidationDetails, args.Message, args.Exception.LineNumber.ToString(CultureInfo.InvariantCulture), args.Exception.LinePosition.ToString(CultureInfo.InvariantCulture)));
System.Xml (3)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
700XmlSchemaValidationException ex = arg.Exception as XmlSchemaValidationException;
System\Xml\Schema\XmlSchemaSet.cs (1)
1354throw e.Exception;
System\Xml\XPath\XPathNavigator.cs (1)
965XmlSchemaValidationException exception = args.Exception as XmlSchemaValidationException;
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
306throw e.Exception;