aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/bigint/bigint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/bigint/bigint.h')
-rw-r--r--src/lib/math/bigint/bigint.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/math/bigint/bigint.h b/src/lib/math/bigint/bigint.h
index bd63425fd..64e408798 100644
--- a/src/lib/math/bigint/bigint.h
+++ b/src/lib/math/bigint/bigint.h
@@ -37,11 +37,14 @@ class BOTAN_PUBLIC_API(2,0) BigInt final
/**
* DivideByZero Exception
+ *
+ * In a future release this exception will be removed and its usage
+ * replaced by Invalid_Argument
*/
- class BOTAN_PUBLIC_API(2,0) DivideByZero final : public Exception
+ class BOTAN_PUBLIC_API(2,0) DivideByZero final : public Invalid_Argument
{
public:
- DivideByZero() : Exception("BigInt divide by zero") {}
+ DivideByZero() : Invalid_Argument("BigInt divide by zero") {}
};
/**