Logo
中文版
详情联系: neusar-support@reachauto.com
ara::diag::DiagReportingErrorDomain类 参考final

Error domain for diagnostic reporting errors. 更多...

#include <diag_error_domain.h>

继承自 ErrorDomain .

ara::diag::DiagReportingErrorDomain 的协作图:
Collaboration graph

Public 类型

using Errc = DiagReportingErrc
 Alias for the error code value enumeration. 更多...
 
using Exception = DiagReportingException
 Alias for the exception base class. 更多...
 

Public 成员函数

constexpr DiagReportingErrorDomain () noexcept
 Default constructor. 更多...
 
const char * Name () const noexcept override
 Return the "shortname" ApApplicationErrorDomain.SN of this error domain. 更多...
 
const char * Message (ara::core::ErrorDomain::CodeType errorCode) const noexcept override
 Translate an error code value into a text message. 更多...
 
void ThrowAsException (const ara::core::ErrorCode &errorCode) const noexcept(false) override
 Throw the exception type corresponding to the given ErrorCode. 更多...
 

详细描述

Error domain for diagnostic reporting errors.

Swsid
SWS_DM_00996
符合标准
yes
非标原因
N/A
种类
class
符号
DiagReportingErrorDomain
范围
namespace ara::diag
基类
ara::core::ErrorDomain
分类
ara
头文件
注解
N/A
模板参数
N/A

在文件 第 行定义.

成员类型定义说明

◆ Errc

Alias for the error code value enumeration.

Swsid
SWS_DM_00997
符合标准
yes
非标原因
N/A
种类
type alias
符号
Errc
范围
class ara::diag::DiagReportingErrorDomain
分类
ara
头文件
注解
N/A
模板参数
N/A

在文件 第 行定义.

◆ Exception

using ara::diag::DiagReportingErrorDomain::Exception = DiagReportingException

Alias for the exception base class.

Swsid
SWS_DM_00998
符合标准
yes
非标原因
N/A
种类
type alias
符号
Exception
范围
class ara::diag::DiagReportingErrorDomain
分类
ara
头文件
注解
N/A
模板参数
N/A

在文件 第 行定义.

构造及析构函数说明

◆ DiagReportingErrorDomain()

constexpr ara::diag::DiagReportingErrorDomain::DiagReportingErrorDomain ( )
inlineconstexprnoexcept

Default constructor.

模板参数
N/A
参数
[in]N/A
[out]N/A
[in,out]N/A
返回
N/A
注解
N/A
异常
N/A
Swsid
SWS_DM_00999
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
异常安全
noexcept
分类
ara

在文件 第 行定义.

成员函数说明

◆ Message()

const char* ara::diag::DiagReportingErrorDomain::Message ( ara::core::ErrorDomain::CodeType  errorCode) const
inlineoverridenoexcept

Translate an error code value into a text message.

模板参数
N/A
参数
[in]errorCodethe error code value
[out]N/A
[in,out]N/A
返回
const char*
注解
N/A
异常
N/A
Swsid
SWS_DM_01001
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
异常安全
noexcept
分类
ara

在文件 第 行定义.

◆ Name()

const char* ara::diag::DiagReportingErrorDomain::Name ( ) const
inlineoverridenoexcept

Return the "shortname" ApApplicationErrorDomain.SN of this error domain.

模板参数
N/A
参数
[in]N/A
[out]N/A
[in,out]N/A
返回
const char*
注解
N/A
异常
N/A
Swsid
SWS_DM_01000
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
异常安全
noexcept
分类
ara

在文件 第 行定义.

◆ ThrowAsException()

void ara::diag::DiagReportingErrorDomain::ThrowAsException ( const ara::core::ErrorCode &  errorCode) const
inlineoverridenoexcept

Throw the exception type corresponding to the given ErrorCode.

模板参数
N/A
参数
[in]errorCodethe ErrorCode instance
[out]N/A
[in,out]N/A
返回
N/A
注解
N/A
异常
N/A
Swsid
SWS_DM_01002
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
异常安全
N/A
分类
ara

在文件 第 行定义.