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