29 references to XmlException
System.IO.Packaging (2)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
161throw new XmlException(SR.Format(SR.NotAValidXmlIdString, id), exception);
System\IO\Packaging\PackageRelationship.cs (1)
132throw new XmlException(SR.Format(SR.NotAValidXmlIdString, id), exception);
System.Private.DataContractSerialization (11)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (3)
155throw new XmlException(SR.JsonInvalidBytes, e); 219throw new XmlException(SR.JsonInvalidBytes, ex); 458throw new XmlException(SR.JsonInvalidBytes, ex);
System\Xml\EncodingStreamWrapper.cs (3)
111throw new XmlException(SR.XmlInvalidBytes, ex); 493throw new XmlException(SR.XmlInvalidBytes, e); 627throw new XmlException(SR.XmlInvalidBytes, ex);
System\Xml\ValueHandle.cs (1)
463throw new XmlException(exception.Message, exception.InnerException);
System\Xml\XmlBaseReader.cs (1)
1512throw new XmlException(exception.Message, exception.InnerException);
System\Xml\XmlExceptionHelper.cs (3)
306return new XmlException(SR.Format(SR.XmlInvalidConversionWithoutValue, type), exception); 311return new XmlException(SR.Format(SR.XmlInvalidConversion, value, type), exception); 321return new XmlException(SR.Format(SR.XmlInvalidUTF8Bytes, value), exception);
System.Private.Xml (1)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
969throw new XmlException(e.Message, e);
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\CryptoSignedXmlRecursionException.cs (1)
22public CryptoSignedXmlRecursionException(string message, Exception inner) : base(message, inner) { }
System.ServiceModel.Syndication (14)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (4)
787throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e); 791throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e); 868throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e); 872throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e);
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (2)
148throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e); 152throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (2)
476throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e); 480throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (4)
464throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e); 468throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e); 769throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e); 773throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e);
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (2)
338throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingUri), e); 364throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDateTime), e);