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