21 references to XmlException
System.Runtime.Serialization (3)
System\Xml\ValueHandle.cs (1)
475throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(exception.Message, exception.InnerException));
System\Xml\XmlBaseReader.cs (1)
1628throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(exception.Message, exception.InnerException));
System\Xml\XmlMtomReader.cs (1)
1277throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(e.Message, e));
System.ServiceModel (13)
System\ServiceModel\Channels\MessageHeader.cs (1)
273throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(exception.Message, null));
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (4)
892throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e)); 896throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e)); 980throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e)); 984throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e));
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (2)
239throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e)); 243throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e));
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (2)
630throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e)); 634throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e));
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (4)
751throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e)); 755throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e)); 1044throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e)); 1048throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e));
System.ServiceModel.Discovery (4)
System\ServiceModel\Discovery\SerializationUtility.cs (4)
110throw FxTrace.Exception.AsError(new XmlException(exceptionString, fe)); 114throw FxTrace.Exception.AsError(new XmlException(exceptionString, oe)); 253throw FxTrace.Exception.AsError(new XmlException(exceptionString, fe)); 257throw FxTrace.Exception.AsError(new XmlException(exceptionString, oe));
System.Xml (1)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
851throw new XmlException(e.Message, e);