aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-22 11:06:50 -0400
committerJack Lloyd <[email protected]>2017-10-22 11:06:50 -0400
commit8fc068fa337ccae190402984c9234ec5a9ea1f47 (patch)
tree52f1471aa52d554cf24b6c0e421a74837ecbccb9
parenta7592986f58fc35c6f4f3bc1395d9fac388b01f7 (diff)
parent30525863fa7166c2b299f55ef34226610d911ca2 (diff)
Merge GH #1271 Deprecate some exception types
-rw-r--r--src/lib/utils/exceptn.h6
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);
};
/**