function DiagReportingErrorDomain [SWS_DM_00999] Upstream: RS_AP_00119
constexpr DiagReportingErrorDomain () noexcept;
Default constructor.
The parameterless default constructor [SWS_DM_00999] initializes an instance of error domain ara::diag::DiagReportingErrorDomain ([SWS_DM_00996], AUTOSAR_AP_SWS_Diagnostics §8.11.7.2.1.1 “Default Constructor”). It is declared as constexpr as well as noexcept and creates the domain synchronously without a return value. The class is to be included via header file #include "ara/diag/diag_error_domain.h".
The operation is specified as thread-safe and exception safe ([SWS_DM_00999]). Because the constructor is defined as noexcept, no runtime exceptions occur during instantiation. The created error domain serves to classify and assign errors from enumeration DiagReportingErrc ([SWS_DM_00560], type alias Errc in [SWS_DM_00997]), which maps specific error causes in diagnostic reporting such as kAlreadyOffered, kConfigurationMismatch, kDebouncingConfigurationInconsistent, or kReportIgnored.
In interaction with the error domain, member functions Name ([SWS_DM_01000]) and Message ([SWS_DM_01001]) provide the domain name as well as error messages for passed error codes. Using ThrowAsException ([SWS_DM_01002]), error codes can be converted into exception objects of base type DiagReportingException ([SWS_DM_00998]), while MakeErrorCode ([SWS_DM_01006]) serves to create new ara::core::ErrorCode instances. Interpretation: Manual instantiation via this constructor is likely rarely necessary in application programs, as access is usually performed via the global singleton function GetDiagReportingDomain ([SWS_DM_01004]). Question Q-772337db203849c6 (open)
This usage note was generated automatically based on the specification AUTOSAR Adaptive Platform R25-11.
Implementer's Guide to follow (complexity 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#bc423f8e- Content hash
bc423f8e- 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 · German original