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