类 ara::diag::DiagSovdException
[SWS_DM_01807] Upstream: RS_AP_00119
class DiagSovdException : public ara::core::Exception {...};
Exception type for SOVD thrown by Diag classes.
| Header-Datei | #include "ara/diag/diag_sovd_error_domain.h" |
|---|
| Forwarding-Header | #include "ara/diag/diag_fwd.h" |
|---|
| Scope | namespace ara::diag |
|---|
| Basisklasse(n) | ara::core::Exception |
|---|
用户指南人工智能生成
将 SOVD 特定的诊断错误作为具有关联错误代码且异常安全的 Exception 指示给调用方。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 58783cae6416
来源
未决问题(2)
将 SOVD 特定的诊断错误作为具有关联错误代码且异常安全的 Exception 指示给调用方。
类 ara::diag::DiagSovdException 用作面向服务的车辆诊断(SOVD,Service-Oriented Vehicle Diagnostics)的专用异常类型,并由 diag 模块中的诊断类引发以用于错误发信 [SWS_DM_01807]。它派生自 ara::core::Exception,并在错误情况下显式使用 ara::core::ErrorCode 进行实例化,以便通过 C++ 栈展开将错误信息传递到调用上下文 [SWS_DM_01808]。作为关键约束条件,构造函数被指定为 noexcept,从而在对象创建时确保完全的异常安全性以及线程安全性。
本指南基于 AUTOSAR Adaptive Platform R25-11 规范,总结了对 SOVD 异常处理的要求。
UML 类图
Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
此版本没有元素数据
构造函数和析构函数
Construct a new DiagSovdException from an ErrorCode.
方法文档
explicit DiagSovdException (ara::core::ErrorCode err) noexcept;
Construct a new DiagSovdException from an ErrorCode.
| Header-Datei | #include "ara/diag/diag_sovd_error_domain.h" |
|---|
| Scope | class ara::diag::DiagSovdException |
|---|
| Exception-Sicherheit | exception safe |
|---|
| Thread-Sicherheit | thread-safe |
|---|
Parameter (in)
| Parameter | Beschreibung |
|---|
| err | the ErrorCode |
Status: valid/unmigrated
Version: rel:R25-11#e8244057
Versionshistorie & Revisions (1 transition, 4 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_01808@rel:R25-11#e8244057
Point-in-Time History:
Recorded Revisions (4):
- R25-11
rel:R25-11#76e1ec2d2026-09-30 - R23-11
rel:R23-11#62167f502026-10-14 - R24-11
rel:R24-11#e82440572026-10-14 - R25-11
rel:R25-11#e82440572026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
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 · 德文原文