DEENESPTFRRUARHIKOZHNL

클래스 ara::shwa::ShwaErrorDomain

Diese Seite wurde vollständig KI-generiert auf Basis von SWS Safe Hardware Acceleration (R25-11) — kein offizieller AUTOSAR-Text und keine automatisch extrahierte API-Seite wie die übrigen Module. Als Interpretation gekennzeichnete Aussagen sind Schlussfolgerungen aus den Quellen.

[AP_SWS_SHWA_01304] 문구 아직 가져오지 않음 Upstream: RS_AP_00122, RS_AP_00127, RS_AP_00140, RS_SHWA_00007

class ShwaErrorDomain final : public ara::core::ErrorDomain {...};

Die Spezifikation definiert diesen Klassentyp mit der gezeigten Schnittstelle.

Header-Datei#include "ara/shwa/shwa_error_domain.h"
Scopenamespace ara::shwa

사용자 가이드AI 생성

오류 메시지 조회 및 적절한 예외 발생을 위한 shwa 모듈의 오류 도메인을 정의합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 170823c86562 출처 열린 질문 (2)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

오류 메시지 조회 및 적절한 예외 발생을 위한 shwa 모듈의 오류 도메인을 정의합니다.

ara::shwa::ShwaErrorDomain 클래스는 shwa 모듈을 위한 모듈별 오류 도메인을 제공하고 오류 코드를 설명 및 관련 예외 타입과 연결합니다 [AP_SWS_SHWA_01305]. 도메인 이름 및 오류 메시지의 텍스트 조회 외에도 ThrowAsException()을(를) 통해 오류를 예외로 의도적으로 발생시키는 기능을 제공합니다 [AP_SWS_SHWA_01310]. 검사 메서드는 스레드 안전 및 예외 안전으로 선언되어 있습니다.

컨텍스트

ara::shwa::ShwaErrorDomain 클래스는 Adaptive Platform의 shwa 모듈을 위한 특정 오류 도메인을 나타내며 기본 클래스 ara::core::ErrorDomain에서 파생됩니다. 모듈별 오류 원인을 고유하게 식별, 명명 및 텍스트로 설명하기 위한 핵심적인 연결 고리 역할을 합니다. 일반적으로 오류 도메인은 ara::core::ErrorCode 인스턴스 및 ShwaException을(를) 통한 관련 예외 처리와 긴밀하게 상호작용합니다. 타입 별칭을 통해 클래스는 모듈별 오류 타입에 대한 직접적인 매핑을 제공합니다: Errc은(는) ShwaErrorCode [AP_SWS_SHWA_01305]을(를) 참조하고 Exception은(는) ShwaException [AP_SWS_SHWA_01306]을(를) 참조합니다.

ShwaErrorDomainContext ShwaErrorDomain ShwaErrorDomain ErrorDomain ErrorDomain ShwaErrorDomain->ErrorDomain erbt von ShwaErrorCode ShwaErrorCode ShwaErrorDomain->ShwaErrorCode Errc ShwaException ShwaException ShwaErrorDomain->ShwaException Exception Anwendung Anwendung Anwendung->ShwaErrorDomain 사용 ErrorCode ErrorCode Anwendung->ErrorCode haelt ErrorCode->ShwaErrorDomain referenziert

컨텍스트 다이어그램: 오류 코드, 예외 및 애플리케이션 로직과 상호작용하는 ShwaErrorDomain의 임베딩. 출처: [AP_SWS_SHWA_01305], [AP_SWS_SHWA_01306], [AP_SWS_SHWA_01310]

수명 주기

ShwaErrorDomain의 인스턴스화는 기본 생성자 ShwaErrorDomain()을(를) 통해 수행되며, 이는 noexcept(으)로 선언되어 있고 Thread Safety 및 Exception Safety를 모두 보장합니다 [AP_SWS_SHWA_01307]. AUTOSAR Adaptive 오류 처리 모델에서 오류 도메인의 대표자로서 이러한 인스턴스는 일반적으로 반복적으로 오류 컨텍스트를 대조하기 위해 수명이 길게 유지됩니다(해석: 정적 또는 전역 싱글톤 객체일 것으로 추정됨). 질문 Q-82cb2e14793eeaef (열림) 예외 발생을 제외하고 인스턴스의 모든 읽기 메서드는 스레드 안전하며 예외를 발생시키지 않습니다.

사용 경로

정규 처리 흐름에서 컴포넌트는 모듈별 오류 발생 시 오류 도메인을 참조하여 ara::core::ErrorCode을(를) 생성합니다. 텍스트 출력 또는 로깅을 위해 사용자는 Name() 메서드를 호출하여 오류 도메인의 식별자를 확인하거나 [AP_SWS_SHWA_01308], Message(errorCode)을(를) 사용하여 숫자 코드에 해당하는 오류 설명을 가져옵니다 [AP_SWS_SHWA_01309]. 오류 코드를 C++ 예외 경로로 전달해야 하는 경우 호출 로직이 ThrowAsException()을(를) 트리거합니다 [AP_SWS_SHWA_01310].

Nutzung von ShwaErrorDomain애플리케이션ErrorCodeShwaErrorDomainDomain()ShwaErrorDomain에 대한 참조Name()const char* 도메인 이름Message(CodeType)const char* FehlerbeschreibungoptAusnahmebehandlung erforderlichThrowAsException(errorCode)wirft ShwaException

시퀀스 다이어그램: 오류 조회 및 예외 변환 시의 전형적인 흐름. 출처: [AP_SWS_SHWA_01308], [AP_SWS_SHWA_01309], [AP_SWS_SHWA_01310]

오류 시나리오

오류 도메인 자체는 오류를 분류하는 역할을 하며 해당 검사 기능은 대체로 오류 허용적으로 설계되어 있습니다. Name() [AP_SWS_SHWA_01308] 및 Message() [AP_SWS_SHWA_01309] 모두 noexcept 및 exception-safe로 명세되어 있으므로 알 수 없는 오류 코드의 경우에도 문자열에 대한 정의된 포인터가 제공됩니다(해석: 정적 안내 또는 플레이스홀더 텍스트일 것으로 추정됨). 질문 Q-03a63539b08ddb73 (열림) 유일하게 명시적으로 발생하는 오류 시나리오는 메서드 ThrowAsException(errorCode)이(가) 나타냅니다 [AP_SWS_SHWA_01310]: 이 메서드는 주 목적이 Exception (ShwaException) [AP_SWS_SHWA_01306] 타입의 예외를 의도적으로 발생시키는 것이므로 noexcept(false)(으)로 “not exception safe”로 선언되어 있습니다.

이 가이드는 Adaptive Platform R25-11의 명세 데이터만을 기반으로 합니다.

멤버 맵

생성자 및 소멸자

1

타입 별칭

2

상세 보기

개요에서 항목을 선택하세요.

생성자 및 소멸자

Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.

ShwaErrorDomain () noexcept;

메서드

Message 함수

Führt die in der Signatur definierte Fehlerdomänen- oder Fehlerbehandlungsoperation aus.

const char * Message (CodeType errorCode) const noexcept override;
Name 함수

Führt die in der Signatur definierte Fehlerdomänen- oder Fehlerbehandlungsoperation aus.

const char * Name () const noexcept override;

Führt die in der Signatur definierte Fehlerdomänen- oder Fehlerbehandlungsoperation aus.

void ThrowAsException (const ara::core::ErrorCode &errorCode) const noexcept(false) override;

타입 별칭

Errc 타입 별칭

Der Typ-Alias ordnet den in der Signatur angegebenen Namen dem dargestellten Typ zu.

using Errc = ShwaErrorCode;
Exception 타입 별칭

Der Typ-Alias ordnet den in der Signatur angegebenen Namen dem dargestellten Typ zu.

using Exception = ShwaException;

세부 정보

타입 별칭 Errc [AP_SWS_SHWA_01305] Upstream: RS_AP_00122

using Errc = ShwaErrorCode;

Der Typ-Alias ordnet den in der Signatur angegebenen Namen dem dargestellten Typ zu.

Scopeclass ara::shwa::ShwaErrorDomain

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/AP_SWS_SHWA_01305
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_01305@rel:R25-11#514cafa7
Content hash
514cafa7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_01305
Status: valid/unmigrated Version: rel:R25-11#d2981606 Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_01305@rel:R25-11#d2981606
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

타입 별칭 Exception [AP_SWS_SHWA_01306] Upstream: RS_AP_00122

using Exception = ShwaException;

Der Typ-Alias ordnet den in der Signatur angegebenen Namen dem dargestellten Typ zu.

Scopeclass ara::shwa::ShwaErrorDomain

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/AP_SWS_SHWA_01306
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_01306@rel:R25-11#dac9a10a
Content hash
dac9a10a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_01306
Status: valid/unmigrated Version: rel:R25-11#c6c40f28 Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_01306@rel:R25-11#c6c40f28
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 ShwaErrorDomain [AP_SWS_SHWA_01307] Upstream: RS_AP_00119, RS_AP_00120, RS_AP_00159

ShwaErrorDomain () noexcept;

Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.

Scopeclass ara::shwa::ShwaErrorDomain
Thread Safetythread-safe
Exception Safetyexception safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/AP_SWS_SHWA_01307
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_01307@rel:R25-11#c306ea62
Content hash
c306ea62
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_01307
Status: valid/unmigrated Version: rel:R25-11#357e78fe Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_01307@rel:R25-11#357e78fe
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Message [AP_SWS_SHWA_01309] Upstream: RS_AP_00119, RS_AP_00120, RS_AP_00121, RS_AP_00159

const char * Message (CodeType errorCode) const noexcept override;

Führt die in der Signatur definierte Fehlerdomänen- oder Fehlerbehandlungsoperation aus.

Scopeclass ara::shwa::ShwaErrorDomain
Thread Safetythread-safe
Exception Safetyexception safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/AP_SWS_SHWA_01309
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_01309@rel:R25-11#6ca24cf8
Content hash
6ca24cf8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_01309
Status: valid/unmigrated Version: rel:R25-11#6c181364 Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_01309@rel:R25-11#6c181364
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Name [AP_SWS_SHWA_01308] Upstream: RS_AP_00119, RS_AP_00120, RS_AP_00159

const char * Name () const noexcept override;

Führt die in der Signatur definierte Fehlerdomänen- oder Fehlerbehandlungsoperation aus.

Scopeclass ara::shwa::ShwaErrorDomain
Thread Safetythread-safe
Exception Safetyexception safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/AP_SWS_SHWA_01308
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_01308@rel:R25-11#b8babb64
Content hash
b8babb64
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_01308
Status: valid/unmigrated Version: rel:R25-11#3907a87c Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_01308@rel:R25-11#3907a87c
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 ThrowAsException [AP_SWS_SHWA_01310] Upstream: RS_AP_00120, RS_AP_00121

void ThrowAsException (const ara::core::ErrorCode &errorCode) const noexcept(false) override;

Führt die in der Signatur definierte Fehlerdomänen- oder Fehlerbehandlungsoperation aus.

Scopeclass ara::shwa::ShwaErrorDomain
Thread Safetythread-safe
Exception Safetynot exception safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/AP_SWS_SHWA_01310
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_01310@rel:R25-11#457ab5be
Content hash
457ab5be
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_01310
Status: valid/unmigrated Version: rel:R25-11#865a3931 Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_01310@rel:R25-11#865a3931
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill