17 references to ThrowHelperWarning
dotnet-svcutil-lib (17)
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenResolver.cs (3)
23
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new InvalidOperationException(string.Format(SRServiceModel.UnableToResolveTokenReference, keyIdentifier)));
46
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new InvalidOperationException(string.Format(SRServiceModel.UnableToResolveTokenReference, keyIdentifierClause)));
69
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new InvalidOperationException(string.Format(SRServiceModel.UnableToResolveKeyReference, keyIdentifierClause)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (7)
950
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(fe);
1004
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(exception);
1040
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new ChannelTerminatedException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text));
1049
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new SecurityAccessDeniedException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text));
1067
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new FaultException<ExceptionDetail>(detail, fault.Reason, fault.Code, action));
1069
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new FaultException(fault, action));
1073
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new ProtocolException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\IdentityVerifier.cs (2)
74
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new MessageSecurityException(string.Format(errorString, identity, serviceReference)));
82
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(e);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityTimestamp.cs (1)
37
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new ArgumentOutOfRangeException("recordedExpiryTime", SRServiceModel.CreationTimeUtcIsAfterExpiryTime));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (2)
142
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new MessageSecurityException(string.Format(SRServiceModel.DerivedKeyTokenOffsetTooHigh, offset, maxOffset)));
150
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new MessageSecurityException(string.Format(SRServiceModel.DerivedKeyTokenGenerationAndLengthTooHigh, generation, length, maxOffset)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecureConversation.cs (2)
205
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new MessageSecurityException(string.Format(SRServiceModel.DerivedKeyTokenLabelTooLong, label.Length, _maxKeyDerivationLabelLength)));
215
throw DiagnosticUtility.ExceptionUtility.
ThrowHelperWarning
(new MessageSecurityException(string.Format(SRServiceModel.DerivedKeyTokenNonceTooLong, nonce.Length, _maxKeyDerivationNonceLength)));