|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
异常基类 更多...
#include <exception.hpp>
Public 成员函数 | |
| exception (const char *info="") | |
| 构造函数 | |
| exception (const exception &other) noexcept | |
| 复制构造函数 | |
| exception & | operator= (const exception &other) noexcept |
| 复制赋值运算符 | |
| exception (exception &&other) noexcept | |
| 移动构造函数 | |
| exception & | operator= (exception &&other) noexcept |
| 移动赋值运算符 | |
| template<typename Error, enable_if_t< is_base_of_v< exception, Error >, int > = 0> | |
| exception (const Error &error) | |
| 模板构造函数 | |
| virtual | ~exception ()=default |
| 虚析构函数 | |
| virtual const char * | what () const noexcept |
| 获取错误信息 | |
| virtual const char * | type () const noexcept |
| 获取异常类型 | |
异常基类
在文件 exception.hpp 第 77 行定义.
|
inlineexplicit |
构造函数
| info | 异常信息 |
在文件 exception.hpp 第 88 行定义.
被这些函数引用 exception(), exception(), exception(), operator=(), operator=(), neforce::memory_exception::type(), neforce::thirdparty_exception::type() , 以及 neforce::value_exception::type().
|
inlineexplicit |
模板构造函数
| Error | 错误类型 |
| error | 错误对象 |
从其他异常类型构造。
在文件 exception.hpp 第 143 行定义.
引用了 exception(), type() , 以及 what().
|
inlinenodiscardvirtualnoexcept |
获取异常类型
被 neforce::allocate_exception, neforce::anycast_exception, neforce::cmdline_exception, neforce::console_exception, neforce::daemon_exception, neforce::database_exception, neforce::database_stmt_exception, neforce::database_typecast_exception, neforce::device_exception, neforce::dns_exception, neforce::dynamic_library_exception, neforce::env_exception, neforce::file_exception, neforce::ftp_exception, neforce::future_exception, neforce::ini_exception, neforce::iterator_exception, neforce::json_exception, neforce::locale_exception, neforce::lz4_exception, neforce::math_exception, neforce::memory_exception, neforce::network_exception, neforce::optional_exception, neforce::pipe_exception, neforce::process_exception, neforce::regex_exception, neforce::registry_key_exception, neforce::share_memory_exception, neforce::smtp_exception, neforce::socket_exception, neforce::ssl_exception, neforce::system_exception, neforce::thirdparty_exception, neforce::thread_exception, neforce::toml_exception, neforce::typecast_exception, neforce::value_exception, neforce::yaml_exception , 以及 neforce::zlib_exception 重载.
在文件 exception.hpp 第 161 行定义.
被这些函数引用 exception().
|
inlinenodiscardvirtualnoexcept |
获取错误信息
在文件 exception.hpp 第 155 行定义.
被这些函数引用 exception() , 以及 neforce::get_current_task_group().