diff options
author | Jack Lloyd <[email protected]> | 2017-10-19 16:18:14 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-19 16:18:14 -0400 |
commit | 53a7136759a38f5cd7b1dfcd79868ffe89d61c35 (patch) | |
tree | d729e21474c99f9e5364007733a0577f7e444ecf /src/lib/utils/exceptn.h | |
parent | 843a982c3a019e18975aef0277af44a3731f8caa (diff) |
Undeprecate these exceptions
Cannot figure out how to get MSVC to shut up
Diffstat (limited to 'src/lib/utils/exceptn.h')
-rw-r--r-- | src/lib/utils/exceptn.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/utils/exceptn.h b/src/lib/utils/exceptn.h index 4349290e9..1ed41aeb3 100644 --- a/src/lib/utils/exceptn.h +++ b/src/lib/utils/exceptn.h @@ -114,11 +114,10 @@ class BOTAN_PUBLIC_API(2,0) PRNG_Unseeded final : public Invalid_State /** * Policy_Violation Exception */ -class BOTAN_DEPRECATED("deprecated") BOTAN_PUBLIC_API(2,0) Policy_Violation final : public Invalid_State +class BOTAN_PUBLIC_API(2,0) Policy_Violation final : public Invalid_State { public: - explicit Policy_Violation(const std::string& err) : - Invalid_State("Policy violation: " + err) {} + explicit Policy_Violation(const std::string& err); }; /** @@ -133,7 +132,7 @@ class BOTAN_PUBLIC_API(2,0) Algorithm_Not_Found final : public Lookup_Error /** * No_Provider_Found Exception */ -class BOTAN_DEPRECATED("deprecated") BOTAN_PUBLIC_API(2,0) No_Provider_Found final : public Exception +class BOTAN_PUBLIC_API(2,0) No_Provider_Found final : public Exception { public: explicit No_Provider_Found(const std::string& name); @@ -206,7 +205,7 @@ class BOTAN_PUBLIC_API(2,0) Stream_IO_Error final : public Exception /** * Self Test Failure Exception */ -class BOTAN_DEPRECATED("deprecated") BOTAN_PUBLIC_API(2,0) Self_Test_Failure final : public Internal_Error +class BOTAN_PUBLIC_API(2,0) Self_Test_Failure final : public Internal_Error { public: explicit Self_Test_Failure(const std::string& err); |