diff options
author | Daniel Neus <[email protected]> | 2017-10-21 20:00:51 +0200 |
---|---|---|
committer | Daniel Neus <[email protected]> | 2017-10-21 20:00:51 +0200 |
commit | 30525863fa7166c2b299f55ef34226610d911ca2 (patch) | |
tree | b5616d2787aef619a3259d6c43b13921a2fc18bd /src/lib/utils/exceptn.h | |
parent | 09ff689fcd24ee6d5e677f5769d2b4ac26a3a9e6 (diff) |
deprecate exceptions
Diffstat (limited to 'src/lib/utils/exceptn.h')
-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); }; /** |