diff options
author | Jack Lloyd <[email protected]> | 2018-11-23 18:38:14 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-11-23 18:38:14 -0500 |
commit | 761a7f36f708b44c7af1dc9387f324d509b4acf6 (patch) | |
tree | 43ee497eb84b98c1f1e04a7e60d95b531ba0a88a /src/lib/x509/x509_crl.h | |
parent | ae42de8433260a37360d60b0a21665e13c4a63e8 (diff) | |
parent | b909778857b3e0b7eb86ac26c818e5f25baaddbd (diff) |
Merge GH #1744 Make exception throws easier to debug
Diffstat (limited to 'src/lib/x509/x509_crl.h')
-rw-r--r-- | src/lib/x509/x509_crl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/x509/x509_crl.h b/src/lib/x509/x509_crl.h index 89925aa04..d52c98e9a 100644 --- a/src/lib/x509/x509_crl.h +++ b/src/lib/x509/x509_crl.h @@ -28,12 +28,15 @@ class BOTAN_PUBLIC_API(2,0) X509_CRL final : public X509_Object public: /** * This class represents CRL related errors. + * + * In a future major release this exception type will be removed and + * replaced with Decoding_Error */ - class BOTAN_PUBLIC_API(2,0) X509_CRL_Error final : public Exception + class BOTAN_PUBLIC_API(2,0) X509_CRL_Error final : public Decoding_Error { public: explicit X509_CRL_Error(const std::string& error) : - Exception("X509_CRL: " + error) {} + Decoding_Error("X509_CRL: " + error) {} }; /** |