summaryrefslogtreecommitdiff
path: root/src/exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.cc')
-rw-r--r--src/exceptions.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc
index 71771b1c..1ded4483 100644
--- a/src/exceptions.cc
+++ b/src/exceptions.cc
@@ -108,3 +108,11 @@ CertificateChainError::CertificateChainError (std::string message)
{
}
+
+DCPReadError::DCPReadError (string message, string detail)
+ : runtime_error(String::compose("%1 (%2)", message, detail))
+ , _message(message)
+ , _detail(detail)
+{
+
+}