类 NmException [SWS_ANM_01100]
class NmException : public ara::core::Exception {...};| Header | ara/nm/nm_error_domain.h |
|---|---|
| Upstream-Anforderung | RS_AP_00122, RS_AP_00127 |
Exception-Typ für API-Fehler des Network Management.
使用
类 NmException 表示用于 Network Management(ANM)API 错误的特定异常类型,并继承自 ara::core::Exception [SWS_ANM_01100]。它在头文件 ara/nm/nm_error_domain.h 中定义 [SWS_ANM_01100]。通过显式构造函数 explicit NmException(ara::core::ErrorCode errorCode) noexcept 并在传入相应错误代码 [SWS_ANM_01102] 的情况下进行实例化。
错误处理与交互
为了方便访问,该模块还在同一头文件 [SWS_ANM_01104] 中通过类型别名 using Exception = NmException; 声明了相同的异常类型。Interpretation:作为 ara::core::Exception 的特化,NmException 推测主要在 Network Management 中的错误状态通过基于异常的路径被指示时,或者当错误的 ara::core::Result 通过异常被解析时抛出。 问题 Q-44f3c1fe3e0a4023 (未决)
并发性与线程安全
NmException 的构造函数被显式标为 noexcept 并保证线程安全 [SWS_ANM_01102]。因此,可以在并发线程中安全创建实例而无需额外的外部同步,并且在构造期间不会抛出进一步的异常 [SWS_ANM_01102]。
本使用说明由 AI 基于 AUTOSAR Adaptive R25-11 规范生成。
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_ANM_01100- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_ANM_01100@rel:R25-11#4b5ab6ee- Content hash
4b5ab6ee- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_NetworkManagement.pdf#nameddest=SWS_ANM_01100
Status: valid/unmigrated
Version: rel:R25-11#9cc96ca2
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_ANM_01100@rel:R25-11#9cc96ca2
Recorded Revisions (4):
- R25-11
rel:R25-11#4128a4812026-09-30 - R23-11
rel:R23-11#4af1f9002026-10-14 - R24-11
rel:R24-11#9cc96ca22026-10-14 - R25-11
rel:R25-11#9cc96ca22026-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 · 德文原文