函数 Message [SWS_TS_14210] Upstream: RS_TS_20072 原文尚未导入
const char * Message (CodeType errorCode) const noexcept override;
Returns the message associated with the errorCode.
成员函数 [SWS_TS_14210] 属于类 apext::tsync::TsyncFvmErrorDomain,并通过头文件 apext/tsync/fvm_error_domain.h 包含。它用于同步确定已发生错误码的文本描述。作为输入参数,该函数接收类型为 CodeType 的数值错误码 errorCode,并以指向常量字符串(const char *)的指针形式返回与之关联的错误消息。
在并发性和容错性方面,该规范给出了全面的保证:该方法被归类为 thread-safe,因此无需额外的同步措施即可从并发线程中调用 [SWS_TS_14210]。此外,该函数被归类为 exception safe 并带有标识符 noexcept,从而排除了执行期间引发异常的可能性。
在模块 ts 中,与规范元素 [SWS_TS_00907] 存在密切关联。后者在头文件 ara/tsync/tsync_error_domain.h 中为错误域 ara::tsync::TsyncErrorDomain 定义了类似函数 Message。两个接口具有相同的签名以及在线程安全性和异常安全性方面的相同承诺,确保了跨不同域对错误文本进行统一步骤的查询。
本使用说明由 AI 策展助手自动生成。
| Header-Datei | #include "apext/tsync/fvm_error_domain.h" |
|---|---|
| Scope | class apext::tsync::TsyncFvmErrorDomain |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| errorCode | The error code number. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| const char * | The message associated with the errorCode. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_TS_14210- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_TS_14210@rel:R25-11#3ebe2b4e- Content hash
3ebe2b4e- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14210
Status: valid/unmigrated
Version: rel:R25-11#af77a6da
Versionshistorie & Revisions (1 transition, 3 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_TS_14210@rel:R25-11#af77a6da
Recorded Revisions (3):
- R25-11
rel:R25-11#12a30f152026-09-30 - R24-11
rel:R24-11#3fcbcd7d2026-10-14 - R25-11
rel:R25-11#af77a6da2026-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 · 德文原文