/* */ #ifndef D_DL_RETRY_EX_H #define D_DL_RETRY_EX_H #include "RecoverableException.h" namespace aria2 { class DlRetryEx:public RecoverableException { protected: virtual SharedHandle copy() const; public: DlRetryEx(const char* file, int line, const std::string& msg); DlRetryEx(const char* file, int line, const std::string& msg, const Exception& cause); DlRetryEx(const char* file, int line, const std::string& msg, error_code::Value code); }; #define DL_RETRY_EX(arg) DlRetryEx(__FILE__, __LINE__, arg) #define DL_RETRY_EX2(arg1, arg2) DlRetryEx(__FILE__, __LINE__, arg1, arg2) } // namespace aria2 #endif // D_DL_RETRY_EX_H