diff options
author | Jack Lloyd <[email protected]> | 2017-10-22 11:06:50 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-22 11:06:50 -0400 |
commit | 8fc068fa337ccae190402984c9234ec5a9ea1f47 (patch) | |
tree | 52f1471aa52d554cf24b6c0e421a74837ecbccb9 | |
parent | a7592986f58fc35c6f4f3bc1395d9fac388b01f7 (diff) | |
parent | 30525863fa7166c2b299f55ef34226610d911ca2 (diff) |
Merge GH #1271 Deprecate some exception types
-rw-r--r-- | src/lib/utils/exceptn.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/utils/exceptn.h b/src/lib/utils/exceptn.h index 1ed41aeb3..b9b94a8f8 100644 --- a/src/lib/utils/exceptn.h +++ b/src/lib/utils/exceptn.h @@ -117,7 +117,7 @@ class BOTAN_PUBLIC_API(2,0) PRNG_Unseeded final : public Invalid_State class BOTAN_PUBLIC_API(2,0) Policy_Violation final : public Invalid_State { public: - explicit Policy_Violation(const std::string& err); + BOTAN_DEPRECATED("deprecated") explicit Policy_Violation(const std::string& err); }; /** @@ -135,7 +135,7 @@ class BOTAN_PUBLIC_API(2,0) Algorithm_Not_Found final : public Lookup_Error class BOTAN_PUBLIC_API(2,0) No_Provider_Found final : public Exception { public: - explicit No_Provider_Found(const std::string& name); + BOTAN_DEPRECATED("deprecated") explicit No_Provider_Found(const std::string& name); }; /** @@ -208,7 +208,7 @@ class BOTAN_PUBLIC_API(2,0) Stream_IO_Error final : public Exception class BOTAN_PUBLIC_API(2,0) Self_Test_Failure final : public Internal_Error { public: - explicit Self_Test_Failure(const std::string& err); + BOTAN_DEPRECATED("deprecated") explicit Self_Test_Failure(const std::string& err); }; /** |