DEENESPTFRRUARHIKOZHNL

클래스 ara::idsm::IdsmErrorDomain

Diese Seite wurde vollständig KI-generiert auf Basis von SWS IntrusionDetectionSystemManager (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.

Header: ara/idsm/idsm_error_domain.h · Spezifikationselemente: 7

사용자 가이드AI 생성

오류 코드 및 예외 할당을 위한 Intrusion Detection System Manager의 오류 도메인을 정의합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 5ad009b86550 출처 열린 질문 (2)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

오류 코드 및 예외 할당을 위한 Intrusion Detection System Manager의 오류 도메인을 정의합니다.

이 클래스는 Intrusion Detection System Manager 모듈을 AUTOSAR Adaptive Platform의 오류 처리 시스템에 연결하고 도메인별 오류 코드 및 Exception을 정의합니다 [SWS_AIDSM_10706]. 주요 작업에는 도메인 식별, 오류 코드에 대한 판독 가능한 오류 메시지 제공, ThrowAsException을 통한 오류의 형식화된 예외로의 변환이 포함됩니다 [SWS_AIDSM_10712]. 기본 생성자가 삭제되었으므로, 메서드 호출이 완전히 스레드 안전한 것으로 명시된 전역 인스턴스를 통해 접근이 이루어질 것으로 추정됩니다. 질문 (열림)

컨텍스트

클래스 ara::idsm::IdsmErrorDomain은 AUTOSAR Adaptive Platform의 idsm 모듈 내에서 Intrusion Detection System Manager의 시스템별 오류 상태를 식별하고 분류하기 위한 중앙 오류 도메인 역할을 합니다 [SWS_AIDSM_10706]. 기본 클래스 ara::core::ErrorDomain의 최종 특수화로서 IdsM 하위 시스템을 Adaptive Platform의 통합 오류 처리 모델에 원활하게 통합합니다 [SWS_AIDSM_10706]. 이 클래스는 헤더 ara/idsm/idsm_error_domain.h에 정의되어 있습니다.

오류 아키텍처 내에서 이 클래스는 IdsM 오류 처리를 위한 관련 유형 정의를 연결합니다. 유형 별칭 Errc을 통해 도메인별 오류 코드 열거형 IdsmErrc을 참조하고 [SWS_AIDSM_10707], 유형 별칭 Exception은 모듈별 예외 클래스 IdsmException에 바인딩됩니다 [SWS_AIDSM_10708]. 또한 재정의된 메서드 Name()을 통해 진단 및 로깅 목적의 고유한 도메인 식별자를 제공합니다 [SWS_AIDSM_10710].

IdsmErrorDomainContext idsm_client IdsM-Anwendung idsm_error_domain ara::idsm::IdsmErrorDomain idsm_client->idsm_error_domain 이름 및 메시지 조회 core_domain ara::core::ErrorDomain idsm_error_domain->core_domain erbt von idsm_errc ara::idsm::IdsmErrc idsm_error_domain->idsm_errc definiert Errc idsm_exception ara::idsm::IdsmException idsm_error_domain->idsm_exception definiert Exception idsm_error_domain->idsm_exception ThrowAsException 호출 시 발생 error_code ara::core::ErrorCode error_code->idsm_error_domain referenziert

컨텍스트 다이어그램: 기본 클래스, 오류 코드 및 예외 간의 IdsmErrorDomain 분류. 출처: [SWS_AIDSM_10706], [SWS_AIDSM_10707], [SWS_AIDSM_10708], [SWS_AIDSM_10712]

수명 주기

IdsmErrorDomain의 인스턴스 생성은 엄격한 제한을 받습니다. 기본 생성자는 명시적으로 삭제되었습니다(IdsmErrorDomain() = delete;) [SWS_AIDSM_10709]. 따라서 호출 컴포넌트 및 애플리케이션은 일반적인 객체 생성을 통해 클래스를 인스턴스화할 수 없습니다. 실제 환경에서는 AUTOSAR Adaptive Platform의 오류 도메인에서 일반적인 것처럼 모듈의 정적 접근 함수를 통해 수명이 긴 싱글톤으로 도메인 인스턴스가 제공될 것으로 추정됩니다. 질문 Q-f791746dd8b5c3d5 (열림)

순수 기능적 오류 도메인으로서 이 클래스는 변경 가능한 내부 상태를 갖지 않으며 복잡한 수명 주기 단계나 상태 전이를 거치지 않습니다. 동시성과 관련하여 제공되는 모든 메서드 호출(Name(), Message() 및 ThrowAsException())은 스레드 안전(thread-safe)한 것으로 명시되어 있습니다 [SWS_AIDSM_10710], [SWS_AIDSM_10711], [SWS_AIDSM_10712]. 따라서 오류 도메인의 인스턴스는 추가적인 외부 동기화 메커니즘 없이 시스템의 여러 스레드에서 병렬로 안전하게 사용할 수 있습니다.

사용 경로

실제 사용 시 이 클래스는 다음과 같은 일반적인 단계를 통해 소프트웨어 시스템 내에서 IdsM 오류를 변환하고 중계하는 역할을 합니다:

  • 식별 및 진단: Name() 메서드를 통해 오류 도메인의 식별자를 쿼리하여 발생한 오류가 IdsM 모듈에서 비롯된 것인지 확인할 수 있습니다 [SWS_AIDSM_10710].
  • 텍스트 오류 메시지: IdsmErrc(별칭 Errc)의 특정 오류 코드가 있는 경우, Message(errorCode) 호출은 오류 원인에 대한 판독 가능한 설명을 문자열로 반환합니다 [SWS_AIDSM_10707], [SWS_AIDSM_10711].
  • 예외 발생: 호출 계층 구조에서 값 기반 오류 처리 대신 예외가 필요한 경우, ThrowAsException(errorCode) 메서드는 오류 코드를 해당 예외로 직접 변환합니다 [SWS_AIDSM_10712].

이러한 사용 경로를 통해 도메인은 ara::core::ErrorCode을 통한 값 기반 오류 검사와 오류 발생 시의 고전적인 예외 기반 제어 흐름을 모두 지원합니다.

오류 시나리오

IdsM 모듈 내의 오류 조건은 열거형 IdsmErrc의 값으로 표시되며, 별칭 Errc을 통해 형식화된 방식으로 접근합니다 [SWS_AIDSM_10707]. 오류 도메인은 이러한 오류 코드가 예외 상황으로 변환되는 방식을 제어합니다.

ThrowAsException(const ara::core::ErrorCode& errorCode) 메서드는 noexcept(false)로 주석 처리되어 있으며 전달된 오류 코드에 해당하는 Exception을 발생시킵니다 [SWS_AIDSM_10712]. 이 유형은 IdsmException이며, 별칭 Exception를 통해 바인딩됩니다 [SWS_AIDSM_10708]. 해석: 호출은 오류 발생 시 정상적으로 반환되지 않으며, 예외를 발생시켜 현재 실행 컨텍스트를 강제로 벗어납니다. 질문 Q-52ca402c6c38a110 (열림) 반면 Name() 및 Message()은 noexcept 선언을 통해 순수 이름 또는 메시지 쿼리 중에 의도치 않은 예외가 절대 발생하지 않음을 보장합니다 [SWS_AIDSM_10710], [SWS_AIDSM_10711].

이 가이드는 R25-11용 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

시놉시스

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

멤버 맵

생성자 및 소멸자

1

타입 별칭

2

상세 보기

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

선언

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

생성자 및 소멸자

IdsmErrorDomain() = delete;

메서드

Message 함수
const char* Message(CodeType errorCode) const noexcept override;
Name 함수
const char* Name() const noexcept override;
void ThrowAsException(const ara::core::ErrorCode& errorCode) const noexcept(false) override;

타입 별칭

Errc 타입 별칭
using Errc = IdsmErrc;
Exception 타입 별칭
using Exception = IdsmException;

메서드와 타입 문서

클래스 IdsmErrorDomain [SWS_AIDSM_10706]

class IdsmErrorDomain final : public ara::core::ErrorDomain {...};
Headerara/idsm/idsm_error_domain.h
Upstream-AnforderungRS_AP_00130, RS_AP_00122, RS_AP_00127

Fehlerdomäne für IdsM.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10706
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10706@rel:R25-11#c9d88434
Content hash
c9d88434
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10706
Status: valid/unmigrated Version: rel:R25-11#b8de898a Versionshistorie & Revisions (1 transition, 3 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_AIDSM_10706@rel:R25-11#b8de898a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#e77ad6452026-09-30
  • R24-11rel:R24-11#b8de898a2026-10-14
  • R25-11rel:R25-11#b8de898a2026-10-14 active
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

타입 별칭 Errc [SWS_AIDSM_10707]

using Errc = IdsmErrc;
Headerara/idsm/idsm_error_domain.h
Upstream-AnforderungRS_AP_00120, RS_AP_00130

Alias der IdsM-Fehlercode-Enumeration.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10707
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10707@rel:R25-11#19c9dad0
Content hash
19c9dad0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10707
Status: valid/unmigrated Version: rel:R25-11#1bfc66a3 Versionshistorie & Revisions (1 transition, 3 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_AIDSM_10707@rel:R25-11#1bfc66a3
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#5faf38572026-09-30
  • R24-11rel:R24-11#1bfc66a32026-10-14
  • R25-11rel:R25-11#1bfc66a32026-10-14 active
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 [SWS_AIDSM_10708]

using Exception = IdsmException;
Headerara/idsm/idsm_error_domain.h
Upstream-AnforderungRS_AP_00120, RS_AP_00130

Alias der IdsM-Exception-Klasse.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10708
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10708@rel:R25-11#8448e81b
Content hash
8448e81b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10708
Status: valid/unmigrated Version: rel:R25-11#2c8d9a7c Versionshistorie & Revisions (1 transition, 3 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_AIDSM_10708@rel:R25-11#2c8d9a7c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#4e9da0082026-09-30
  • R24-11rel:R24-11#2c8d9a7c2026-10-14
  • R25-11rel:R25-11#2c8d9a7c2026-10-14 active
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

함수 IdsmErrorDomain [SWS_AIDSM_10709]

IdsmErrorDomain() = delete;
Headerara/idsm/idsm_error_domain.h
Upstream-AnforderungRS_AP_00120, RS_AP_00130

Standardkonstruktor ist gelöscht.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10709
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10709@rel:R25-11#79d1329c
Content hash
79d1329c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10709
Status: valid/unmigrated Version: rel:R25-11#bcbb2371 Versionshistorie & Revisions (1 transition, 3 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_AIDSM_10709@rel:R25-11#bcbb2371
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f1189f162026-09-30
  • R24-11rel:R24-11#bcbb23712026-10-14
  • R25-11rel:R25-11#bcbb23712026-10-14 active
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 [SWS_AIDSM_10711]

const char* Message(CodeType errorCode) const noexcept override;
Headerara/idsm/idsm_error_domain.h
Upstream-AnforderungRS_AP_00120, RS_AP_00121, RS_AP_00130
Thread Safetythread-safe
Rückgabeconst char*

Gibt die Meldung zum Fehlercode zurück.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10711
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10711@rel:R25-11#16921442
Content hash
16921442
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10711
Status: valid/unmigrated Version: rel:R25-11#4ce99142 Versionshistorie & Revisions (1 transition, 3 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_AIDSM_10711@rel:R25-11#4ce99142
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#4b3a10222026-09-30
  • R24-11rel:R24-11#4ce991422026-10-14
  • R25-11rel:R25-11#4ce991422026-10-14 active
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 [SWS_AIDSM_10710]

const char* Name() const noexcept override;
Headerara/idsm/idsm_error_domain.h
Upstream-AnforderungRS_AP_00120, RS_AP_00130
Thread Safetythread-safe
Rückgabeconst char*

Liefert den Namen der Fehlerdomäne.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10710
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10710@rel:R25-11#14053792
Content hash
14053792
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10710
Status: valid/unmigrated Version: rel:R25-11#afae2a24 Versionshistorie & Revisions (1 transition, 3 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_AIDSM_10710@rel:R25-11#afae2a24
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#816364812026-09-30
  • R24-11rel:R24-11#34622e932026-10-14
  • R25-11rel:R25-11#afae2a242026-10-14 active
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 [SWS_AIDSM_10712]

void ThrowAsException(const ara::core::ErrorCode& errorCode) const noexcept(false) override;
Headerara/idsm/idsm_error_domain.h
Upstream-AnforderungRS_AP_00120, RS_AP_00121, RS_AP_00130
Thread Safetythread-safe

Wirft die zum Fehlercode gehörige Exception.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10712
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10712@rel:R25-11#ee500b59
Content hash
ee500b59
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10712
Status: valid/unmigrated Version: rel:R25-11#0ac9bfb2 Versionshistorie & Revisions (1 transition, 3 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_AIDSM_10712@rel:R25-11#0ac9bfb2
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#786881152026-09-30
  • R24-11rel:R24-11#0ac9bfb22026-10-14
  • R25-11rel:R25-11#0ac9bfb22026-10-14 active
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