functie DiagReportingErrorDomain [SWS_DM_00999] Upstream: RS_AP_00119
constexpr DiagReportingErrorDomain () noexcept;
Default constructor.
De parameterloze standaardconstructor [SWS_DM_00999] initialiseert een instantie van het foutdomein ara::diag::DiagReportingErrorDomain ([SWS_DM_00996], AUTOSAR_AP_SWS_Diagnostics §8.11.7.2.1.1 “Default Constructor”). Hij is gedeclareerd als constexpr en noexcept en creëert het domein synchroon zonder retourwaarde. De klasse dient te worden ingevoegd via het headerbestand #include "ara/diag/diag_error_domain.h".
De operatie is gespecificeerd als thread-safe en uitzonderingsveilig ([SWS_DM_00999]). Omdat de constructor is gedefinieerd als noexcept, treden er bij de instantiëring geen runtime-excepties op. Het aangemaakte foutdomein dient voor het classificeren en toewijzen van fouten uit de enumeratie DiagReportingErrc ([SWS_DM_00560], type-alias Errc in [SWS_DM_00997]), die specifieke foutoorzaken in de diagnose-rapportage zoals kAlreadyOffered, kConfigurationMismatch, kDebouncingConfigurationInconsistent of kReportIgnored afbeeldt.
In samenspel met het foutdomein leveren de memberfuncties Name ([SWS_DM_01000]) en Message ([SWS_DM_01001]) de domeinnaam en foutteksten bij meegegeven foutcodes. Middels ThrowAsException ([SWS_DM_01002]) kunnen foutcodes worden omgezet in exceptie-objecten van het basistype DiagReportingException ([SWS_DM_00998]), terwijl MakeErrorCode ([SWS_DM_01006]) dient voor het aanmaken van nieuwe ara::core::ErrorCode-instanties. Interpretatie: Een handmatige instantiëring via deze constructor is in applicatieprogramma's vermoedelijk zelden vereist, aangezien de toegang gewoonlijk plaatsvindt via de globale singleton-functie GetDiagReportingDomain ([SWS_DM_01004]). Vraag Q-772337db203849c6 (open)
Deze gebruiksinstructie is geautomatiseerd opgesteld op basis van de specificatie AUTOSAR Adaptive Platform R25-11.
Implementer's Guide volgt (complexiteit I2)
| Header-Datei | #include "ara/diag/diag_error_domain.h" |
|---|---|
| Scope | class ara::diag::DiagReportingErrorDomain |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_00999- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00999@rel:R25-11#a9c52114- Content hash
a9c52114- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00999
Status: valid/unmigrated
Version: rel:R25-11#a2417df9
Versionshistorie & Revisions (1 transition, 7 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_DM_00999@rel:R25-11#a2417df9
Recorded Revisions (7):
- R25-11
rel:R25-11#bc423f8e2026-09-30 - R20-11
rel:R20-11#6f7db7862026-10-14 - R21-11
rel:R21-11#06005dc42026-10-14 - R22-11
rel:R22-11#e2ba3c222026-10-14 - R23-11
rel:R23-11#41609cf12026-10-14 - R24-11
rel:R24-11#a4e166e02026-10-14 - R25-11
rel:R25-11#a2417df92026-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