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