From ce6eb592dab38eb802b1da5ebdc440bd40deec0d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 28 Nov 2010 22:30:06 +0900 Subject: 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. --- src/RecoverableException.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/RecoverableException.h') diff --git a/src/RecoverableException.h b/src/RecoverableException.h index 9873758e..6d066b1c 100644 --- a/src/RecoverableException.h +++ b/src/RecoverableException.h @@ -52,6 +52,10 @@ public: RecoverableException (const char* file, int line, int errNum, const std::string& msg); + + RecoverableException + (const char* file, int line, int errNum, const std::string& msg, + error_code::Value errorCode); }; } // namespace aria2 -- cgit