aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc/fpe_fe1/fpe_fe1.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-19 16:09:17 -0500
committerJack Lloyd <[email protected]>2015-12-19 16:09:17 -0500
commit0fae1884079518e4f6d1c049cc7f341cd96c8a65 (patch)
tree41e3a8aea10b7381c0e2cfd4ee019745215876ac /src/lib/misc/fpe_fe1/fpe_fe1.cpp
parentb3da432772628fdb3eed9cf5dabb54eda0097d2b (diff)
Remove all remaining uses of throwing a std:: exception directly
See GH #340 and 6b9a3a5 for background
Diffstat (limited to 'src/lib/misc/fpe_fe1/fpe_fe1.cpp')
-rw-r--r--src/lib/misc/fpe_fe1/fpe_fe1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/misc/fpe_fe1/fpe_fe1.cpp b/src/lib/misc/fpe_fe1/fpe_fe1.cpp
index fad17c814..197dbb21a 100644
--- a/src/lib/misc/fpe_fe1/fpe_fe1.cpp
+++ b/src/lib/misc/fpe_fe1/fpe_fe1.cpp
@@ -68,7 +68,7 @@ void factor(BigInt n, BigInt& a, BigInt& b)
size_t rounds(const BigInt& a, const BigInt& b)
{
if(a < b)
- throw std::logic_error("FPE rounds: a < b");
+ throw Internal_Error("FPE rounds: a < b");
return 3;
}