/* */ #ifndef D_RECOVERABLE_EXCEPTION_H #define D_RECOVERABLE_EXCEPTION_H #include "Exception.h" namespace aria2 { class RecoverableException : public Exception { protected: virtual std::shared_ptr copy() const CXX11_OVERRIDE; public: RecoverableException(const char* file, int line, const std::string& msg); RecoverableException(const char* file, int line, const std::string& msg, error_code::Value errorCode, const Exception& cause); RecoverableException(const char* file, int line, const std::string& msg, const Exception& cause); RecoverableException(const char* file, int line, const std::string& msg, error_code::Value errorCode); 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 #endif // D_RECOVERABLE_EXCEPTION_EX_H