aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/bigint/big_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/bigint/big_io.cpp')
-rw-r--r--src/lib/math/bigint/big_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/bigint/big_io.cpp b/src/lib/math/bigint/big_io.cpp
index 3e66f788d..779f8ccb7 100644
--- a/src/lib/math/bigint/big_io.cpp
+++ b/src/lib/math/bigint/big_io.cpp
@@ -19,7 +19,7 @@ std::ostream& operator<<(std::ostream& stream, const BigInt& n)
if(stream.flags() & std::ios::hex)
base = BigInt::Hexadecimal;
else if(stream.flags() & std::ios::oct)
- throw std::runtime_error("Octal output of BigInt not supported");
+ throw Exception("Octal output of BigInt not supported");
if(n == 0)
stream.write("0", 1);