함수 DiagReportingErrorDomain [SWS_DM_00999] Upstream: RS_AP_00119
constexpr DiagReportingErrorDomain () noexcept;
Default constructor.
매개변수가 없는 기본 생성자 [SWS_DM_00999]은(는) 오류 도메인 ara::diag::DiagReportingErrorDomain의 인스턴스를 초기화합니다 ([SWS_DM_00996], AUTOSAR_AP_SWS_Diagnostics §8.11.7.2.1.1 “Default Constructor”). constexpr 및 noexcept(으)로 선언되어 있으며 반환값 없이 도메인을 동기식으로 생성합니다. 이 클래스는 헤더 파일 #include "ara/diag/diag_error_domain.h"을(를) 통해 포함해야 합니다.
이 동작은 스레드 안전 및 예외 안전으로 명시되어 있습니다 ([SWS_DM_00999]). 생성자가 noexcept(으)로 정의되어 있으므로 인스턴스화 시 런타임 예외가 발생하지 않습니다. 생성된 오류 도메인은 kAlreadyOffered, kConfigurationMismatch, kDebouncingConfigurationInconsistent 또는 kReportIgnored와(과) 같은 진단 보고의 특정 오류 원인을 매핑하는 열거형 DiagReportingErrc([SWS_DM_00560], [SWS_DM_00997]의 타입 별칭 Errc)의 오류를 분류하고 할당하는 데 사용됩니다.
오류 도메인과의 상호작용에서 멤버 함수 Name([SWS_DM_01000]) 및 Message([SWS_DM_01001])은(는) 전달된 오류 코드에 대한 도메인 이름 및 오류 텍스트를 제공합니다. ThrowAsException([SWS_DM_01002])을(를) 사용하여 오류 코드를 기본 유형 DiagReportingException([SWS_DM_00998])의 예외 객체로 변환할 수 있으며, MakeErrorCode([SWS_DM_01006])은(는) 새로운 ara::core::ErrorCode 인스턴스를 생성하는 데 사용됩니다. 해석: 일반적으로 전역 싱글톤 함수 GetDiagReportingDomain([SWS_DM_01004])을(를) 통해 접근이 이루어지므로 애플리케이션 프로그램에서 이 생성자를 통한 수동 인스턴스화는 드물게 필요할 것으로 보입니다. 질문 Q-772337db203849c6 (열림)
이 사용 지침은 AUTOSAR Adaptive Platform R25-11 사양을 바탕으로 자동 작성되었습니다.
구현자 가이드 준비 중 (복잡도 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#a17010de- Content hash
a17010de- 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 · 독일어 원문