summaryrefslogtreecommitdiff
path: root/ext/dsent/libutil/Exception.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dsent/libutil/Exception.cc')
-rw-r--r--ext/dsent/libutil/Exception.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/dsent/libutil/Exception.cc b/ext/dsent/libutil/Exception.cc
new file mode 100644
index 000000000..c6db0e3fb
--- /dev/null
+++ b/ext/dsent/libutil/Exception.cc
@@ -0,0 +1,17 @@
+#include "Exception.h"
+
+namespace LibUtil
+{
+ Exception::Exception(const String& exception_msg_) throw()
+ : exception(), mExceptionMsg(exception_msg_)
+ {}
+
+ Exception::~Exception() throw()
+ {}
+
+ const char* Exception::what() const throw()
+ {
+ return mExceptionMsg.c_str();
+ }
+}
+