함수 DiagErrorDomain [SWS_DM_00520] Upstream: RS_AP_00119
constexpr DiagErrorDomain () noexcept;
Default constructor.
기본 생성자 DiagErrorDomain()은(는) 진단 오류 도메인 ara::diag::DiagErrorDomain의 인스턴스를 초기화합니다([SWS_DM_00520], AUTOSAR_AP_SWS_Diagnostics §8.11.3.2.1.1 “Default Constructor”). 이는 constexpr 및 noexcept(으)로 선언되어 있으며, 매개변수를 받지 않고 반환값을 제공하지 않습니다([SWS_DM_00520]). 호출은 동기식으로 수행되며 컴파일 타임과 런타임 모두에서 실행될 수 있습니다.
실행 안전성 및 동시성과 관련하여 다음 속성이 적용됩니다:
- 오류 및 예외 안전성: 이 함수는
exception safe(으)로 지정되어 있으며noexcept(으)로 인해 예외를 발생시킬 수 없습니다([SWS_DM_00520]). 생성을 위한 특정 오류 코드나 DET 또는 DEM으로의 보고는 정의되어 있지 않습니다. - 스레드 안전성: 인스턴스화는
thread-safe(으)로 분류되며([SWS_DM_00520]), 호출 컨텍스트와 관련된 제한을 받지 않습니다.
Diagnostics 모듈과의 상호 작용에서 클래스 DiagErrorDomain([SWS_DM_00517], AUTOSAR_AP_SWS_Diagnostics §8.11.3 “Class: DiagErrorDomain”)은(는) 진단 오류 도메인을 나타냅니다. 이는 Errc([SWS_DM_00518]) 및 Exception([SWS_DM_00519])와(과) 같은 핵심 타입 별칭을 제공합니다. 또한 도메인 인스턴스는 이름 조회를 위한 메소드([SWS_DM_00521]), Message()을(를) 통한 오류 코드의 메시지 텍스트 변환([SWS_DM_00522]), ThrowAsException()을(를) 통한 도메인별 예외 트리거([SWS_DM_00523])를 제공합니다.
실제 적용 시 이 생성자를 통한 직접적인 수동 인스턴스화는 거의 필요하지 않을 것으로 보입니다(해석). 왜냐하면 함수 ara::diag::GetDiagDomain()([SWS_DM_00524])을(를) 통해 이미 전역 인스턴스 참조가 제공되며, 이는 오류 코드를 생성하기 위해 ara::diag::MakeErrorCode()([SWS_DM_00525]) 등에서 사용되기 때문입니다. 질문 Q-95d533b0920260e0 (열림)
이 사용 지침은 사양을 기반으로 AI에 의해 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I2)
| Header-Datei | #include "ara/diag/diag_error_domain.h" |
|---|---|
| Scope | class ara::diag::DiagErrorDomain |
| 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_00520- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00520@rel:R25-11#016a31bd- Content hash
016a31bd- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00520
Status: valid/unmigrated
Version: rel:R25-11#23b2a5be
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_00520@rel:R25-11#23b2a5be
Recorded Revisions (7):
- R25-11
rel:R25-11#e6d6d9562026-09-30 - R20-11
rel:R20-11#9b545c562026-10-14 - R21-11
rel:R21-11#dc7608ee2026-10-14 - R22-11
rel:R22-11#ad446d6c2026-10-14 - R23-11
rel:R23-11#19214db12026-10-14 - R24-11
rel:R24-11#3d3406ec2026-10-14 - R25-11
rel:R25-11#23b2a5be2026-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 · 독일어 원문