From b72579c4b1200459f959bcd6a25364e239420573 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 24 Jun 2022 15:07:29 +0700 Subject: Cleanup Exception classes --- crypto/src/pkix/PkixCertPathValidatorException.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crypto/src/pkix/PkixCertPathValidatorException.cs') diff --git a/crypto/src/pkix/PkixCertPathValidatorException.cs b/crypto/src/pkix/PkixCertPathValidatorException.cs index f2152bcd3..effb60569 100644 --- a/crypto/src/pkix/PkixCertPathValidatorException.cs +++ b/crypto/src/pkix/PkixCertPathValidatorException.cs @@ -45,8 +45,8 @@ namespace Org.BouncyCastle.Pkix { } - public PkixCertPathValidatorException(string message, Exception exception) - : base(message, exception) + public PkixCertPathValidatorException(string message, Exception innerException) + : base(message, innerException) { } @@ -55,10 +55,10 @@ namespace Org.BouncyCastle.Pkix /// detail message, cause, certification path, and index. /// /// the detail message (or null if none) - /// the cause (or null if none) + /// the cause (or null if none) /// the index of the certificate in the certification path that * - public PkixCertPathValidatorException(string message, Exception exception, int index) - : base(message, exception) + public PkixCertPathValidatorException(string message, Exception innerException, int index) + : base(message, innerException) { if (index < -1) throw new ArgumentException("cannot be < -1", nameof(index)); -- cgit 1.5.1