function Message [SWS_PHM_01249] 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 Message of class ara::phm::PhmErrorDomain returns, for a passed error number errorCode of type CodeType, a textual description of the associated error message as const char * [SWS_PHM_01249]. The function is provided via the header file ara/phm/phm_error_domain.h and, as a virtual method (override), overrides the standard interface behavior for error resolution [SWS_PHM_01249].
The following specifications apply to the call context and execution semantics:
- Synchronous Execution and Exception Handling: The call is synchronous and is declared as
noexcept; in addition, the method is specified as exception safe, so that no exceptions are thrown during execution [SWS_PHM_01249]. - Concurrency: The function is explicitly declared as thread-safe and can be called safely from concurrent threads without additional external synchronization [SWS_PHM_01249].
- Memory Management: Interpretation: The returned character pointer likely points to a static character literal, so that no memory deallocation needs to be performed by the caller. Question Q-dcdc593e3f9ded45 (open)
In Platform Health Management (PHM), the method is used to translate numerical error codes of PhmErrorDomain into human-readable strings for logging or diagnostic purposes [SWS_PHM_01249].
This text was generated by an AI and serves as guidance. Only the official AUTOSAR specifications are binding.
| Header-Datei | #include "ara/phm/phm_error_domain.h" |
|---|---|
| Scope | class ara::phm::PhmErrorDomain |
| 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_PHM_01249- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_PHM_01249@rel:R25-11#29a23c2e- Content hash
29a23c2e- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_PlatformHealthManagement.pdf#nameddest=SWS_PHM_01249
Status: valid/unmigrated
Version: rel:R25-11#87e7affe
Versionshistorie & Revisions (1 transition, 5 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_PHM_01249@rel:R25-11#87e7affe
Recorded Revisions (5):
- R25-11
rel:R25-11#29a23c2e2026-09-30 - R22-11
rel:R22-11#d28a09b52026-10-14 - R23-11
rel:R23-11#fb2533e82026-10-14 - R24-11
rel:R24-11#87e7affe2026-10-14 - R25-11
rel:R25-11#87e7affe2026-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