29 references to XmlException
System.IO.Packaging (2)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
161
throw new
XmlException
(SR.Format(SR.NotAValidXmlIdString, id), exception);
System\IO\Packaging\PackageRelationship.cs (1)
144
throw new
XmlException
(SR.Format(SR.NotAValidXmlIdString, id), exception);
System.Private.DataContractSerialization (11)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (3)
155
throw new
XmlException
(SR.JsonInvalidBytes, e);
219
throw new
XmlException
(SR.JsonInvalidBytes, ex);
458
throw new
XmlException
(SR.JsonInvalidBytes, ex);
System\Xml\EncodingStreamWrapper.cs (3)
111
throw new
XmlException
(SR.XmlInvalidBytes, ex);
493
throw new
XmlException
(SR.XmlInvalidBytes, e);
627
throw new
XmlException
(SR.XmlInvalidBytes, ex);
System\Xml\ValueHandle.cs (1)
463
throw new
XmlException
(exception.Message, exception.InnerException);
System\Xml\XmlBaseReader.cs (1)
1512
throw new
XmlException
(exception.Message, exception.InnerException);
System\Xml\XmlExceptionHelper.cs (3)
306
return new
XmlException
(SR.Format(SR.XmlInvalidConversionWithoutValue, type), exception);
311
return new
XmlException
(SR.Format(SR.XmlInvalidConversion, value, type), exception);
321
return new
XmlException
(SR.Format(SR.XmlInvalidUTF8Bytes, value), exception);
System.Private.Xml (1)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
969
throw new
XmlException
(e.Message, e);
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\CryptoSignedXmlRecursionException.cs (1)
22
public CryptoSignedXmlRecursionException(string message, Exception inner) :
base
(message, inner) { }
System.ServiceModel.Syndication (14)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (4)
814
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e);
818
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e);
895
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e);
899
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e);
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (2)
169
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
173
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (2)
494
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
498
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (4)
491
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e);
495
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e);
796
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e);
800
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e);
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (2)
440
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingUri), e);
466
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDateTime), e);