summaryrefslogtreecommitdiff
path: root/src/Exception.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Exception.cc')
-rw-r--r--src/Exception.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Exception.cc b/src/Exception.cc
index f1e1f972..9652ce59 100644
--- a/src/Exception.cc
+++ b/src/Exception.cc
@@ -86,6 +86,19 @@ Exception::Exception
errorCode_(error_code::UNKNOWN_ERROR)
{}
+Exception::Exception
+(const char* file,
+ int line,
+ int errNum,
+ const std::string& msg,
+ error_code::Value errorCode)
+ : file_(file),
+ line_(line),
+ errNum_(errNum),
+ msg_(msg),
+ errorCode_(errorCode)
+{}
+
Exception::~Exception() throw() {}
std::string Exception::stackTrace() const