summaryrefslogtreecommitdiff
path: root/src/Exception.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-28 22:30:06 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-28 22:30:06 +0900
commitce6eb592dab38eb802b1da5ebdc440bd40deec0d (patch)
tree8f813e6c85162df0becbe9f62a70892753f7f9d6 /src/Exception.h
parente8f3592314f60ef26e68f7923541e97ca3c58076 (diff)
Added Exception ctor which takes both errNum and errorCode.
Also added DlAbortEx ctor which has same signature with new Exception dtor. Added DL_ABORT_EX3 macro to use added ctor.
Diffstat (limited to 'src/Exception.h')
-rw-r--r--src/Exception.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Exception.h b/src/Exception.h
index 6166503d..e54b28e0 100644
--- a/src/Exception.h
+++ b/src/Exception.h
@@ -72,6 +72,9 @@ public:
Exception(const char* file, int line, int errNum, const std::string& msg);
+ Exception(const char* file, int line, int errNum, const std::string& msg,
+ error_code::Value errorCode);
+
virtual ~Exception() throw();
virtual const char* what() const throw();