function Message [SWS_TS_00907] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00130
const char * Message (CodeType errorCode) const noexcept override;
Returns the message associated with errorCode.
use
The method Message of class ara::tsync::TsyncErrorDomain serves to synchronously retrieve a textual error description for a passed error code [SWS_TS_00907]. It is provided via the header #include "ara/tsync/tsync_error_domain.h". As input parameter, the function takes errorCode of type CodeType and returns a constant string pointer (const char *) to the corresponding message [SWS_TS_00907].
Error Handling and Concurrency
The interface guarantees complete exception safety (exception safe) and is declared as noexcept, which is why the call is guaranteed to proceed without C++ exceptions [SWS_TS_00907]. Furthermore, the function is specified as thread-safe and can safely be called concurrently from multiple threads [SWS_TS_00907]. Interpretation: The returned const char * is likely to point to immutable, static memory, so that no manual memory deallocation arises for the caller. Question Q-933f88e4fde03016 (open)
Interaction
As an overridden method (override), the function fits into the unified error model of AUTOSAR Adaptive [SWS_TS_00907]. In a similar manner, apext::tsync::TsyncFvmErrorDomain from the header #include "apext/tsync/fvm_error_domain.h" also implements an identically named Message function for resolving domain-specific error messages under the same guarantees regarding thread safety and exception safety [SWS_TS_14210].
This usage note was generated automatically based on the specification.
| Header-Datei | #include "ara/tsync/tsync_error_domain.h" |
|---|---|
| Scope | class ara::tsync::TsyncErrorDomain |
| 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 error code. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_TS_00907- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_TS_00907@rel:R25-11#fb6984b6- Content hash
fb6984b6- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_00907
Status: valid/unmigrated
Version: rel:R25-11#16ac395e
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_TS_00907@rel:R25-11#16ac395e
Recorded Revisions (4):
- R25-11
rel:R25-11#fb6984b62026-09-30 - R23-11
rel:R23-11#92c825fc2026-10-14 - R24-11
rel:R24-11#16ac395e2026-10-14 - R25-11
rel:R25-11#16ac395e2026-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 · German original