|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
异常处理框架 更多...
#include "NeForce/core/memory/memory.hpp"类 | |
| struct | exception |
| 异常基类 更多... | |
| struct | memory_exception |
| 内存操作异常 更多... | |
| struct | system_exception |
| 系统访问异常 更多... | |
| struct | iterator_exception |
| 指针或迭代器行为异常 更多... | |
| struct | typecast_exception |
| 类型转换异常 更多... | |
| struct | value_exception |
| 变量处理异常 更多... | |
| struct | device_exception |
| 设备行为异常 更多... | |
| struct | file_exception |
| 文件处理异常 更多... | |
| struct | math_exception |
| 数学计算异常 更多... | |
| struct | thirdparty_exception |
| 第三方操作异常 更多... | |
| struct | database_exception |
| 数据库行为异常 更多... | |
| struct | network_exception |
| 网络操作或行为异常 更多... | |
宏定义 | |
| #define | NEFORCE_ERROR_BUILD_DERIVED_CLASS(THIS, BASE, INFO) |
| 构建可派生的异常类宏 | |
| #define | NEFORCE_ERROR_BUILD_FINAL_CLASS(THIS, BASE, INFO) |
| 构建最终异常类宏 | |
函数 | |
| int NEFORCE_API | uncaught_exceptions () noexcept NEFORCE_PURE_FUNCTION |
| 未捕获的异常数量 | |
| void NEFORCE_API | throw_with_stack (const exception &err) |
| 抛出异常并打印堆栈信息 | |