summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/exceptions.cc')
-rw-r--r--src/lib/exceptions.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc
index 3f87a2ebe..7e98a2b57 100644
--- a/src/lib/exceptions.cc
+++ b/src/lib/exceptions.cc
@@ -116,6 +116,15 @@ KDMAsContentError::KDMAsContentError ()
}
+NetworkError::NetworkError (string s, string d)
+ : runtime_error (String::compose("%1 (%2)", s, d))
+ , _summary (s)
+ , _detail (d)
+{
+
+}
+
+
KDMError::KDMError (string s, string d)
: runtime_error (String::compose("%1 (%2)", s, d))
, _summary (s)