NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
载入中...
搜索中...
未找到
exception.hpp 文件参考

异常处理框架 更多...

exception.hpp 的引用(Include)关系图:

浏览该文件的源代码.

struct  neforce::exception
 异常基类 更多...
struct  neforce::memory_exception
 内存操作异常 更多...
struct  neforce::allocate_exception
 内存分配异常 更多...
struct  neforce::iterator_exception
 指针或迭代器行为异常 更多...
struct  neforce::typecast_exception
 类型转换异常 更多...
struct  neforce::value_exception
 变量处理异常 更多...
struct  neforce::math_exception
 数学计算异常 更多...
struct  neforce::thirdparty_exception
 第三方操作异常 更多...
struct  neforce::database_exception
 数据库行为异常 更多...

宏定义

#define NEFORCE_ERROR_BUILD_DERIVED_CLASS(THIS, BASE, INFO)
 构建可派生的异常类宏
#define NEFORCE_ERROR_BUILD_FINAL_CLASS(THIS, BASE, INFO)
 构建最终异常类宏

函数

int neforce::uncaught_exceptions () noexcept
 未捕获的异常数量
void neforce::throw_with_stack (const exception &err)
 抛出异常并打印堆栈信息

详细描述

异常处理框架

此文件提供了异常处理框架, 包括异常基类、各种特定异常类型以及相关的辅助宏和工具函数。

在文件 exception.hpp 中定义.