/* */ #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 { SharedHandle e(new DlRetryEx(*this)); return e; } public: DlRetryEx(const std::string& msg):RecoverableException(msg) {} DlRetryEx(const std::string& msg, const Exception& cause):RecoverableException(msg, cause) {} DlRetryEx(const DlRetryEx& e):RecoverableException(e) {} DlRetryEx(const std::string& msg, DownloadResult::RESULT code): RecoverableException(msg, code) {} }; } // namespace aria2 #endif // _D_DL_RETRY_EX_H_