ps/Modules/Alkami.Ops.Common/Exceptions/CertificateExceptionBase.cs
2023-05-30 22:51:22 -07:00

28 lines
688 B
C#

using System;
namespace Alkami.Ops.Common.Exceptions
{
public abstract class CertificateExceptionBase : Exception
{
private readonly string _certificateName;
private readonly string _certificateThumbPrint;
public string CertificateName
{
get { return _certificateName; }
}
public string CertificateThumbPrint
{
get { return _certificateThumbPrint; }
}
protected CertificateExceptionBase(string message, string name, string thumbprint)
: base(message)
{
_certificateName = name;
_certificateThumbPrint = thumbprint;
}
}
}