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

उपयोगकर्ता गाइडएआई जनित

त्रुटि कोड और अपवादों के असाइनमेंट के लिए Intrusion Detection System Manager के त्रुटि डोमेन को परिभाषित करता है।
एआई-जनित असत्यापित मॉडल: 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 के त्रुटि प्रबंधन सिस्टम से जोड़ती है और डोमेन-विशिष्ट त्रुटि कोड तथा Exceptions को परिभाषित करती है [SWS_AIDSM_10706]। इसके मुख्य कार्यों में डोमेन की पहचान, त्रुटि कोड के लिए पठनीय त्रुटि संदेश प्रदान करना, तथा ThrowAsException [SWS_AIDSM_10712] के माध्यम से त्रुटियों को टाइप किए गए अपवादों में परिवर्तित करना शामिल है। चूंकि डिफ़ॉल्ट कंस्ट्रक्टर हटा दिया गया है, इसलिए एक्सेस संभवतः एक वैश्विक इंस्टेंस के माध्यम से होता है, जिसके मेथड कॉल पूरी तरह से थ्रेड-सुरक्षित निर्दिष्ट हैं। प्रश्न (खुला)

संदर्भ

क्लास ara::idsm::IdsmErrorDomain AUTOSAR Adaptive Platform के भीतर मॉड्यूल idsm में Intrusion Detection System Manager [SWS_AIDSM_10706] की सिस्टम-विशिष्ट त्रुटि स्थितियों की पहचान और वर्गीकरण के लिए केंद्रीय त्रुटि डोमेन के रूप में कार्य करती है। बेस क्लास ara::core::ErrorDomain के अंतिम विशेषज्ञता (final specialization) के रूप में, यह 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 त्रुटियों के अनुवाद और मध्यस्थता के लिए कार्य करती है:

  • पहचान और डायग्नोस्टिक्स: यह निर्धारित करने के लिए कि क्या कोई वर्तमान त्रुटि IdsM मॉड्यूल से उत्पन्न हुई है, Name() मेथड के माध्यम से त्रुटि डोमेन के पहचानकर्ता को क्वेरी किया जा सकता है [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

कंस्ट्रक्टर और डिस्ट्रक्टर

1

टाइप उपनाम

2

विवरण दृश्य

रूपरेखा में कोई प्रविष्टि चुनें।

घोषणा

class IdsmErrorDomain क्लास
class IdsmErrorDomain final : public ara::core::ErrorDomain {...};

कंस्ट्रक्टर और डिस्ट्रक्टर

IdsmErrorDomain फ़ंक्शन
IdsmErrorDomain() = delete;

मेथड

Message फ़ंक्शन
const char* Message(CodeType errorCode) const noexcept override;
Name फ़ंक्शन
const char* Name() const noexcept override;
ThrowAsException फ़ंक्शन
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#e7366f1c
Content hash
e7366f1c
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#174e19d2
Content hash
174e19d2
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#7366a4f5
Content hash
7366a4f5
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#54946b15
Content hash
54946b15
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#8092482e
Content hash
8092482e
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#85d6e79f
Content hash
85d6e79f
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#5027cf12
Content hash
5027cf12
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