DEENESPTFRRUARHIKOZHNL

class 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

User GuideAI-GENERATED

Defines the error domain of the Intrusion Detection System Manager for mapping error codes and exceptions.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 5ad009b86550 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Defines the error domain of the Intrusion Detection System Manager for mapping error codes and exceptions.

The class binds the Intrusion Detection System Manager module to the error handling system of the AUTOSAR Adaptive Platform and defines domain-specific error codes as well as exceptions [SWS_AIDSM_10706]. Its main tasks include identifying the domain, providing readable error messages for error codes, and converting errors into typed exceptions via ThrowAsException [SWS_AIDSM_10712]. Because the default constructor is deleted, access presumably occurs via a global instance whose method calls are specified as completely thread-safe. Question (open)

Context

The class ara::idsm::IdsmErrorDomain functions within the AUTOSAR Adaptive Platform in module idsm as the central error domain for identifying and classifying system-specific error states of the Intrusion Detection System Manager [SWS_AIDSM_10706]. As a final specialization of base class ara::core::ErrorDomain, it seamlessly integrates the IdsM subsystem into the unified error handling model of the Adaptive Platform [SWS_AIDSM_10706]. The class is defined in header ara/idsm/idsm_error_domain.h.

Within the error architecture, the class links relevant type definitions for IdsM error handling: Via type alias Errc, it references the domain-specific error code enumeration IdsmErrc [SWS_AIDSM_10707], while type alias Exception is bound to the module-specific exception class IdsmException [SWS_AIDSM_10708]. In addition, it provides a unique identifier of the domain for diagnostic and logging purposes via the overridden method Name() [SWS_AIDSM_10710].

IdsmErrorDomainContext idsm_client IdsM-Anwendung idsm_error_domain ara::idsm::IdsmErrorDomain idsm_client->idsm_error_domain queries name and message 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 throws on ThrowAsException error_code ara::core::ErrorCode error_code->idsm_error_domain referenziert

Context diagram: Placement of IdsmErrorDomain between base class, error codes, and exceptions. Sources: [SWS_AIDSM_10706], [SWS_AIDSM_10707], [SWS_AIDSM_10708], [SWS_AIDSM_10712]

Lifecycle

The creation of instances of IdsmErrorDomain is subject to strict constraints. The default constructor is explicitly deleted (IdsmErrorDomain() = delete;) [SWS_AIDSM_10709]. Calling components and applications therefore cannot instantiate the class via normal object creation. In practice, the provision of the domain instance is presumably carried out via a static access function of the module as a long-lived singleton, as is customary for error domains in the AUTOSAR Adaptive Platform. Question Q-f791746dd8b5c3d5 (open)

As a purely functional error domain, the class has no mutable internal state and does not undergo complex lifecycle phases or state transitions. Regarding concurrency, all provided method calls (Name(), Message(), and ThrowAsException()) are explicitly specified as thread-safe [SWS_AIDSM_10710], [SWS_AIDSM_10711], [SWS_AIDSM_10712]. Instances of the error domain can thus be used safely in parallel by multiple threads of the system without additional external synchronization mechanisms.

Usage Path

In practical use, the class serves to translate and mediate IdsM errors within the software system via the following typical steps:

  • Identification and diagnosis: Via method Name(), the identifier of the error domain can be queried to determine whether a given error originates from the IdsM module [SWS_AIDSM_10710].
  • Textual error message: In the presence of a specific error code from IdsmErrc (alias Errc), invoking Message(errorCode) returns a readable description of the error cause as a character string [SWS_AIDSM_10707], [SWS_AIDSM_10711].
  • Exception throwing: If a call hierarchy requires an exception instead of value-based error handling, method ThrowAsException(errorCode) directly converts an error code into the corresponding exception [SWS_AIDSM_10712].

Through this usage path, the domain supports both value-based error checks via ara::core::ErrorCode and classic exception-based control flows in the event of an error.

Error Scenarios

Error conditions within the IdsM module are represented via values of enumeration IdsmErrc, which are accessed in a typed manner via alias Errc [SWS_AIDSM_10707]. The error domain controls how these error codes are transformed into exceptional situations.

Method ThrowAsException(const ara::core::ErrorCode& errorCode) is annotated with noexcept(false) and throws the exception corresponding to the passed error code [SWS_AIDSM_10712]. This type is IdsmException, which is connected via alias Exception [SWS_AIDSM_10708]. Interpretation: In the event of an error, the call does not return normally, but forces exit from the current execution context by throwing the exception. Question Q-52ca402c6c38a110 (open) In contrast, Name() and Message() guarantee through their noexcept declaration that unintended exceptions can never be thrown during pure name or message queries [SWS_AIDSM_10710], [SWS_AIDSM_10711].

This guide was generated automatically based on the AUTOSAR specification for R25-11.

Synopsis

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

Member map

Constructors and destructor

1

Type aliases

2

Detail view

Select an entry in the outline.

Declaration

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

Constructors and destructor

IdsmErrorDomain() = delete;

Methods

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

Type aliases

Errc type alias
using Errc = IdsmErrc;
Exception type alias
using Exception = IdsmException;

Documentation of methods and types

class 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#e77ad645
Content hash
e77ad645
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

type alias 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#5faf3857
Content hash
5faf3857
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

type alias 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#4e9da008
Content hash
4e9da008
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

function 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#f1189f16
Content hash
f1189f16
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

function 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#4b3a1022
Content hash
4b3a1022
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

function 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#81636481
Content hash
81636481
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

function 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#78688115
Content hash
78688115
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