core_exception.h 471 B

12345678910111213141516171819
  1. #ifndef AFUN_CORE_EXCEPTION_H
  2. #define AFUN_CORE_EXCEPTION_H
  3. #include "aFuntool.h"
  4. namespace aFuncore {
  5. class aFuncoreException : public aFuntool::aFunException {
  6. public:
  7. AFUN_INLINE explicit aFuncoreException(const std::string &msg);
  8. };
  9. class EnvironmentDestructException : public aFuncoreException {
  10. public:
  11. AFUN_INLINE EnvironmentDestructException();
  12. };
  13. }
  14. #include "core_exception.inline.h"
  15. #endif //AFUN_CORE_EXCEPTION_H