diff options
author | chai <chaifix@163.com> | 2018-11-18 23:44:40 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-18 23:44:40 +0800 |
commit | 8cb74178c2b8e5883a1181af687fa8cfc0c6e5da (patch) | |
tree | f56c536a029148df35bd4e82034a9b563a2381df /src/libjin/Common/je_exception.h | |
parent | f0f340dec7821cee103ab9267ef941a917ef4dc4 (diff) |
*修改目录为小写
Diffstat (limited to 'src/libjin/Common/je_exception.h')
-rw-r--r-- | src/libjin/Common/je_exception.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/libjin/Common/je_exception.h b/src/libjin/Common/je_exception.h deleted file mode 100644 index c319ebd..0000000 --- a/src/libjin/Common/je_exception.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef __JE_EXCEPTION_H__ -#define __JE_EXCEPTION_H__ - -#include <exception> -#include <string> - -namespace JinEngine -{ - - /// - /// Jin Exception. - /// - class Exception : public std::exception - { - public: - - /// - /// Creates a new Exception according to printf-rules. - /// - /// @param fmt The format string (see printf). - /// - Exception(const char *fmt, ...); - virtual ~Exception() throw(); - - /// - /// Returns a string containing reason for the exception. - /// - /// @return A description of the exception. - /// - inline virtual const char *what() const throw() - { - return mMessage.c_str(); - } - - private: - /// - /// Exception message. - /// - std::string mMessage; - - }; - -} // namespace JinEngine - -#endif
\ No newline at end of file |