फ़ंक्शन 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.
क्लास ara::phm::PhmErrorDomain का सदस्य फ़ंक्शन Message प्रकार CodeType के पास किए गए त्रुटि नंबर errorCode के लिए संबंधित त्रुटि संदेश का पाठ्य विवरण const char * के रूप में लौटाता है [SWS_PHM_01249]। यह फ़ंक्शन हेडर फ़ाइल ara/phm/phm_error_domain.h के माध्यम से प्रदान किया जाता है और एक वर्चुअल मेथड (override) के रूप में त्रुटि समाधान के लिए मानक इंटरफ़ेस व्यवहार को ओवरराइड करता है [SWS_PHM_01249]।
कॉल संदर्भ और निष्पादन शब्दार्थ (execution semantics) के लिए निम्नलिखित नियम लागू होते हैं:
- सिंक्रोनस निष्पादन और अपवाद प्रबंधन: कॉल सिंक्रोनस रूप से की जाती है और इसे
noexceptके रूप में घोषित किया गया है; इसके अतिरिक्त, मेथड को exception safe के रूप में निर्दिष्ट किया गया है, ताकि निष्पादन के दौरान कोई अपवाद न फेंका जाए [SWS_PHM_01249]। - समवर्तीता (concurrency): फ़ंक्शन को स्पष्ट रूप से thread-safe घोषित किया गया है और इसे समवर्ती थ्रेड्स से बिना किसी अतिरिक्त बाहरी सिंक्रोनाइज़ेशन के सुरक्षित रूप से कॉल किया जा सकता है [SWS_PHM_01249]।
- मेमोरी प्रबंधन: Interpretation: लौटाया गया वर्ण पॉइंटर संभवतः एक स्थिर वर्ण लिटरल (static character literal) को संदर्भित करता है, जिससे कॉलर द्वारा मेमोरी को रिलीज़ करने की कोई आवश्यकता नहीं होती है। प्रश्न Q-dcdc593e3f9ded45 (खुला)
Platform Health Management (PHM) में यह मेथड PhmErrorDomain के संख्यात्मक त्रुटि कोड्स को लॉगिंग या डायग्नोस्टिक उद्देश्यों के लिए मानव-पठनीय स्ट्रिंग्स में अनुवादित करने का कार्य करती है [SWS_PHM_01249]।
यह पाठ AI द्वारा जनरेट किया गया था और यह केवल मार्गदर्शन के रूप में कार्य करता है। केवल आधिकारिक AUTOSAR विनिर्देश ही बाध्यकारी हैं।
| 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#27b5dccc- Content hash
27b5dccc- 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 · जर्मन मूल