functie 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.
Gebruik
De methode Message van de klasse ara::tsync::TsyncErrorDomain dient voor het synchroon opvragen van een tekstuele foutbeschrijving bij een meegegeven foutcode [SWS_TS_00907]. Deze wordt beschikbaar gesteld via de header #include "ara/tsync/tsync_error_domain.h". Als invoerparameter accepteert de functie errorCode van het type CodeType en levert een constante tekenreekspointer (const char *) naar de desbetreffende melding op [SWS_TS_00907].
Foutafhandeling en gelijktijdigheid
De interface garandeert volledige uitzonderingsveiligheid (exception safe) en is gedeclareerd als noexcept, waardoor de aanroep gegarandeerd zonder C++-exceptions verloopt [SWS_TS_00907]. Bovendien is de functie gespecificeerd als thread-safe en kan deze zonder bezwaar gelijktijdig vanuit meerdere threads worden aangeroepen [SWS_TS_00907]. Interpretatie: De geretourneerde const char * wijst vermoedelijk naar onveranderlijk, statisch geheugen, waardoor voor de oproeper geen handmatige geheugenvrijgave nodig is. Vraag Q-933f88e4fde03016 (open)
Samenspel
Als overschreven methode (override) past de functie in het uniforme foutmodel van AUTOSAR Adaptive [SWS_TS_00907]. Op vergelijkbare wijze implementeert ook apext::tsync::TsyncFvmErrorDomain uit de header #include "apext/tsync/fvm_error_domain.h" een gelijknamige Message-functie voor het resolven van domeinspecifieke foutteksten onder dezelfde garanties met betrekking tot thread- en uitzonderingsveiligheid [SWS_TS_14210].
Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de specificatie.
| 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#056ca625- Content hash
056ca625- 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 · Duits origineel