aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng/rng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rng/rng.cpp')
-rw-r--r--src/lib/rng/rng.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/rng/rng.cpp b/src/lib/rng/rng.cpp
index 2947ac629..743f7c7aa 100644
--- a/src/lib/rng/rng.cpp
+++ b/src/lib/rng/rng.cpp
@@ -71,7 +71,7 @@ RandomNumberGenerator* RandomNumberGenerator::make_rng()
#if defined(BOTAN_HAS_AUTO_SEEDING_RNG)
return new AutoSeeded_RNG;
#else
- throw Exception("make_rng failed, no AutoSeeded_RNG in this build");
+ throw Not_Implemented("make_rng failed, no AutoSeeded_RNG in this build");
#endif
}
@@ -82,7 +82,7 @@ Serialized_RNG::Serialized_RNG() : m_rng(new AutoSeeded_RNG) {}
#else
Serialized_RNG::Serialized_RNG()
{
- throw Exception("Serialized_RNG default constructor failed: AutoSeeded_RNG disabled in build");
+ throw Not_Implemented("Serialized_RNG default constructor failed: AutoSeeded_RNG disabled in build");
}
#endif