39 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)
132
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.Primitives (10)
Internals\System\Xml\XmlMtomReader.cs (1)
1328
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(e.Message, e));
System\IdentityModel\Tokens\KeyInfoSerializer.cs (3)
210
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.ErrorSerializingKeyIdentifier), e));
262
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.ErrorDeserializingKeyIdentifierClause), e));
307
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.ErrorSerializingKeyIdentifierClause, e));
System\ServiceModel\Channels\MessageHeader.cs (1)
320
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(exception.Message, null));
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (3)
219
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.ErrorDeserializingTokenXml, e));
258
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.ErrorSerializingSecurityToken), e));
418
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.ErrorDeserializingKeyIdentifierClauseFromTokenXml, e));
System\ServiceModel\XmlUtil.cs (2)
158
throw new
XmlException
(SRP.Format(SRP.XmlInvalidConversion, string.Empty, "DateTime"), exception);
162
throw new
XmlException
(SRP.Format(SRP.XmlInvalidConversion, string.Empty, "DateTime"), exception);
System.ServiceModel.Syndication (14)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (4)
787
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e);
791
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e);
868
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e);
872
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e);
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (2)
148
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
152
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (2)
476
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
480
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (4)
464
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e);
468
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e);
769
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e);
773
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e);
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (2)
338
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingUri), e);
364
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDateTime), e);