NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
registry_key_exception结构体 参考final

系统注册表操作异常 更多...

#include <registry.hpp>

类 registry_key_exception 继承关系图:
[图例]

Public 成员函数

 registry_key_exception (const char *info="Registry Key Operation Failed.", const char *type=static_type, const int code=0) noexcept
 构造函数
Public 成员函数 继承自 exception
 exception (const char *info=static_type, const char *type=static_type, const int code=0)
 构造函数
 exception (const exception &other) noexcept
 复制构造函数
exceptionoperator= (const exception &other) noexcept
 复制赋值运算符
 exception (exception &&other) noexcept
 移动构造函数
exceptionoperator= (exception &&other) noexcept
 移动赋值运算符
template<typename Error, enable_if_t< is_base_of_v< exception, Error >, int > = 0>
 exception (const Error &error)
 模板构造函数
virtual ~exception ()=default
 虚析构函数
const char * what () const noexcept
 获取错误信息
const char * type () const noexcept
 获取异常类型
int code () const noexcept
 获取异常码

额外继承的成员函数

静态 Public 属性 继承自 exception
static constexpr auto static_type = "exception"
 静态类型字符串

详细描述

系统注册表操作异常

在文件 system/registry.hpp30 行定义.

构造及析构函数说明

◆ registry_key_exception()

registry_key_exception::registry_key_exception ( const char * info = "Registry Key Operation Failed.",
const char * type = static_type,
const int code = 0 )
inlineexplicitnoexcept

构造函数

参数
info异常信息
type异常类型名称
code错误码

在文件 system/registry.hpp37 行定义.

引用了 exception::code() , 以及 exception::type().


该结构体的文档由以下文件生成: