summaryrefslogtreecommitdiff
path: root/src/exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.cc')
-rw-r--r--src/exceptions.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc
index 51dd6b01..71771b1c 100644
--- a/src/exceptions.cc
+++ b/src/exceptions.cc
@@ -91,8 +91,8 @@ MismatchedStandardError::MismatchedStandardError ()
}
-KDMDecryptionError::KDMDecryptionError (std::string message)
- : runtime_error (String::compose ("Could not decrypt KDM (%1)", message))
+KDMDecryptionError::KDMDecryptionError (std::string message, int cipher_length, int modulus_dmax)
+ : runtime_error (String::compose ("Could not decrypt KDM (%1) (%2/%3)", message, cipher_length, modulus_dmax))
{
}