函数 DiagOfferErrorDomain [SWS_DM_00992] Upstream: RS_AP_00119
constexpr DiagOfferErrorDomain () noexcept;
Default constructor.
无参默认构造函数 [SWS_DM_00992] 用于创建类 ara::diag::DiagOfferErrorDomain (SWS Diagnostics §8.11.5 “Class: DiagOfferErrorDomain”) 的实例。它通过头文件 ara/diag/diag_error_domain.h 声明,并具有签名 constexpr DiagOfferErrorDomain() noexcept; (SWS Diagnostics §8.11.5.2.1.1 “Default Constructor”)。该调用以同步方式执行,不处理输入参数,且符合构造函数的典型特征,不提供返回值 [SWS_DM_00992]。
关于并发与错误安全性,该函数被指定为 thread-safe 以及 exception safe [SWS_DM_00992]。通过 noexcept 规范保证在执行期间不会抛出异常 [SWS_DM_00992]。该构造函数未定义特定的错误码,也未定义通过 DET 或 DEM 发送的通知。
在模块上下文中,该域表示与诊断服务相关的错误状态,其错误码在枚举 DiagOfferErrc 中定义 [SWS_DM_00559],并可通过类型别名 Errc 进行引用 [SWS_DM_00990]。该类提供了标准方法,例如 Name() [SWS_DM_00993]、Message() [SWS_DM_00994] 和 ThrowAsException() [SWS_DM_00995]。在实际应用场景中,通常极少需要直接调用该构造函数(Interpretation),因为通过函数 ara::diag::GetDiagOfferDomain() 已经提供了对该实例的全局引用 [SWS_DM_01003],该引用被 ara::diag::MakeErrorCode() 等所使用 [SWS_DM_01005]。 问题 Q-a98886da9b649096 (未决)
本段文本由人工智能创建,基于 AUTOSAR Adaptive R25-11 规范。
实现者指南即将推出(复杂度 I2)
| Header-Datei | #include "ara/diag/diag_error_domain.h" |
|---|---|
| Scope | class ara::diag::DiagOfferErrorDomain |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_00992- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00992@rel:R25-11#cd581c08- Content hash
cd581c08- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00992
Status: valid/unmigrated
Version: rel:R25-11#1b67a107
Versionshistorie & Revisions (1 transition, 7 revision)
- Current State
valid/unmigrated- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill- Active Version
AUTOSAR/AP/record/SWS_DM_00992@rel:R25-11#1b67a107
Recorded Revisions (7):
- R25-11
rel:R25-11#647b0be12026-09-30 - R20-11
rel:R20-11#877c96922026-10-14 - R21-11
rel:R21-11#abbae6ff2026-10-14 - R22-11
rel:R22-11#c13bf7152026-10-14 - R23-11
rel:R23-11#d3ced3682026-10-14 - R24-11
rel:R24-11#8becca902026-10-14 - R25-11
rel:R25-11#1b67a1072026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 德文原文