function Message [SWS_SM_81249] Upstream: RS_AP_00119, RS_AP_00159
const char * Message (CodeType errorCode) const noexcept override;
Returns the message associated with the error code.
The member function ara::sm::SmErrorDomain::Message serves to synchronously determine the textual error message that is assigned to a specific error code of the State Management error domain [SWS_SM_81249]. It is declared in the header file ara/sm/sm_error_domain.h within the scope of class ara::sm::SmErrorDomain and has the status DRAFT in the specification AUTOSAR_AP_SWS_StateManagement §8.1.3.2.2.1 “Message”.
The interface has the following parameters and return values [SWS_SM_81249]:
- Parameter:
errorCodeof typeCodeTypeaccepts the numerical error number for which the associated text message is requested. - Return value: A pointer of type
const char *to the error message assigned to the passed error code.
Strict assurances regarding concurrency and exception handling apply to the execution: The function is specified as thread-safe and exception safe and is declared with the identifier noexcept [SWS_SM_81249]. It can thus be safely called from arbitrary threads without synchronizing locks or try-catch blocks.
Within the error management of AUTOSAR Adaptive, the method overrides the virtual function of the base error domain. Interpretation: Because the return value is defined as const char * without an allocation interface, the pointer is typically likely to refer to static string literals that remain valid across the entire process runtime. Question Q-03fc170f18f910b4 (open)
This note was generated by an AI based on the AUTOSAR Adaptive R25-11 specification.
Implementer's Guide to follow (complexity I1)
| Header-Datei | #include "ara/sm/sm_error_domain.h" |
|---|---|
| Scope | class ara::sm::SmErrorDomain |
| 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_SM_81249- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_SM_81249@rel:R25-11#b28e7125- Content hash
b28e7125- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81249
Status: valid/unmigrated
Version: rel:R25-11#b28e7125
Versionshistorie & Revisions (1 transition)
- 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_SM_81249@rel:R25-11#b28e7125
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