diff options
author | Jack Lloyd <[email protected]> | 2020-11-08 06:20:36 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-11-08 06:20:36 -0500 |
commit | 33ba09b18a10581c2292585cd4f95d87c0d11b4f (patch) | |
tree | a945faea83e777fd423d4ac511714554edb29881 /src/lib/utils/exceptn.cpp | |
parent | 8b09826315ca239a5bd46aa13b032d8044243e98 (diff) |
Remove deprecated exception types
Diffstat (limited to 'src/lib/utils/exceptn.cpp')
-rw-r--r-- | src/lib/utils/exceptn.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/utils/exceptn.cpp b/src/lib/utils/exceptn.cpp index e6d067f34..4e2bc7b64 100644 --- a/src/lib/utils/exceptn.cpp +++ b/src/lib/utils/exceptn.cpp @@ -117,9 +117,6 @@ Key_Not_Set::Key_Not_Set(const std::string& algo) : Invalid_State("Key not set in " + algo) {} -Policy_Violation::Policy_Violation(const std::string& err) : - Invalid_State("Policy violation: " + err) {} - PRNG_Unseeded::PRNG_Unseeded(const std::string& algo) : Invalid_State("PRNG not seeded: " + algo) {} @@ -128,10 +125,6 @@ Algorithm_Not_Found::Algorithm_Not_Found(const std::string& name) : Lookup_Error("Could not find any algorithm named \"" + name + "\"") {} -No_Provider_Found::No_Provider_Found(const std::string& name) : - Exception("Could not find any provider for algorithm named \"" + name + "\"") - {} - Provider_Not_Found::Provider_Not_Found(const std::string& algo, const std::string& provider) : Lookup_Error("Could not find provider '" + provider + "' for " + algo) {} @@ -172,10 +165,6 @@ System_Error::System_Error(const std::string& msg, int err_code) : m_error_code(err_code) {} -Self_Test_Failure::Self_Test_Failure(const std::string& err) : - Internal_Error("Self test failed: " + err) - {} - Not_Implemented::Not_Implemented(const std::string& err) : Exception("Not implemented", err) {} |