function DiagUdsNrcErrorDomain [SWS_DM_00532] Upstream: RS_AP_00119
constexpr DiagUdsNrcErrorDomain () noexcept;
Default constructor .
The parameterless default constructor initializes an instance of error domain ara::diag::DiagUdsNrcErrorDomain synchronously and without parameters [SWS_DM_00532]. Due to the qualification as constexpr, instantiation can already take place at compile time AUTOSAR_AP_SWS_Diagnostics §8.12.3.2.1.1 “Default Constructor”. In practical implementation, however, direct manual instantiation of domain class [SWS_DM_00529] by application code is likely rarely necessary, since the global reference is obtained by default via function GetDiagUdsNrcDomain() [SWS_DM_00536]. Question Q-22c33afd620b536e (open)
Regarding concurrency and exception safety, the constructor is specified as thread-safe and exception safe [SWS_DM_00532]. It is declared as noexcept and throws no exceptions itself. The domain manages error codes of enumeration type DiagUdsNrcErrc via the alias Errc [SWS_DM_00530], which are created by means of MakeErrorCode() [SWS_DM_00537]. In addition, the class provides methods such as Name() [SWS_DM_00533], Message() [SWS_DM_00534], and ThrowAsException() [SWS_DM_00535] within the scope of DiagUdsNrcException [SWS_DM_00531].
In interaction with Diagnostic Management, errors of this domain control negative response handling. If a ara::diag interface returns an error of DiagUdsNrcErrorDomain, the Diagnostic Server derives a negative UDS response (NRC) from it with the value of the error code in the valid range from 0x01 to 0xFE [SWS_DM_02059], [SWS_DM_02060]. If such an error occurs when retrieving an environmental element, the server evaluates the relevant condition as not fulfilled and issues a Log and Trace message [SWS_DM_00970].
This usage note was generated automatically based on the specification AUTOSAR AP R25-11.
Implementer's Guide to follow (complexity I2)
| Header-Datei | #include "ara/diag/diag_uds_nrc_error_domain.h" |
|---|---|
| Scope | class ara::diag::DiagUdsNrcErrorDomain |
| 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_00532- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00532@rel:R25-11#977e80ee- Content hash
977e80ee- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00532
Status: valid/unmigrated
Version: rel:R25-11#a752b0f3
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_00532@rel:R25-11#a752b0f3
Recorded Revisions (7):
- R25-11
rel:R25-11#977e80ee2026-09-30 - R20-11
rel:R20-11#634577552026-10-14 - R21-11
rel:R21-11#176ed8112026-10-14 - R22-11
rel:R22-11#75b8ab432026-10-14 - R23-11
rel:R23-11#2ee9ffd72026-10-14 - R24-11
rel:R24-11#a752b0f32026-10-14 - R25-11
rel:R25-11#a752b0f32026-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