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)
144throw 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)
814throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e); 818throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e); 895throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e); 899throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e);
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (2)
169throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e); 173throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (2)
494throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e); 498throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (4)
491throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e); 495throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e); 796throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e); 800throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e);
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (2)
440throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingUri), e); 466throw new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDateTime), e);