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