/* */ #ifndef _D_DL_ABORT_EX_H_ #define _D_DL_ABORT_EX_H_ #include "RecoverableException.h" namespace aria2 { class DlAbortEx : public RecoverableException { public: DlAbortEx(Exception* cause = 0):RecoverableException(cause) {} DlAbortEx(const char* msg, ...) { va_list ap; va_start(ap, msg); setMsg(msg, ap); va_end(ap); } DlAbortEx(Exception* cause, const char* msg, ...):RecoverableException(cause) { va_list ap; va_start(ap, msg); setMsg(msg, ap); va_end(ap); } }; } // namespace aria2 #endif // _D_DL_ABORT_EX_H_