/* */ #ifndef _D_DL_ABORT_EX_H_ #define _D_DL_ABORT_EX_H_ #include "RecoverableException.h" namespace aria2 { class DlAbortEx:public RecoverableException { protected: virtual SharedHandle copy() const { SharedHandle e(new DlAbortEx(*this)); return e; } public: DlAbortEx(const std::string& msg):RecoverableException(msg) {} DlAbortEx(const std::string& msg, const Exception& cause):RecoverableException(msg, cause) {} DlAbortEx(const RecoverableException& e):RecoverableException(e) {} DlAbortEx(const std::string& msg, DownloadResult::RESULT code): RecoverableException(msg, code) {} }; } // namespace aria2 #endif // _D_DL_ABORT_EX_H_