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 وتحدد رموز الأخطاء الخاصة بالنطاق بالإضافة إلى الاستثناءات [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]. لذلك، لا يمكن للمكونات والتطبيقات المستدعية إنشاء نسخة من الفئة عبر إنشاء كائن عادي. في الممارسة العملية، يُرجح أن يتم توفير نسخة النطاق عبر دالة وصول ثابتة للوحدة ككائن أحادي (Singleton) طويل العمر، كما هو معتاد لنطاقات الأخطاء في 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) وترمي الاستثناء التابع لرمز الخطأ الممرر [SWS_AIDSM_10712]. هذا النوع هو IdsmException، المرتبط عبر الاسم المستعار Exception [SWS_AIDSM_10708]. تفسير: الاستدعاء لا يعود بشكل منتظم في حالة حدوث خطأ، بل يفرض مغادرة سياق التنفيذ الحالي من خلال إطلاق الاستثناء. سؤال Q-52ca402c6c38a110 (مفتوح) في المقابل، يضمن Name() وMessage() من خلال تصريح noexcept الخاص بهما عدم إمكانية رمي استثناءات غير مقصودة أبدًا أثناء استعلام الاسم أو الرسالة المجرد [SWS_AIDSM_10710]، [SWS_AIDSM_10711].

تم إنشاء هذا الدليل آليًا بناءً على مواصفة AUTOSAR للإصدار R25-11.

الملخّص

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

خريطة الأعضاء

التصريح

1

المُنشئات والمُتلف

1

الدوال الأعضاء

3

أسماء الأنواع البديلة

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#53741baa
Content hash
53741baa
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#4bc6e72e
Content hash
4bc6e72e
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#b89e88b9
Content hash
b89e88b9
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#39c0cea4
Content hash
39c0cea4
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#0cba04b3
Content hash
0cba04b3
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#68ad7d20
Content hash
68ad7d20
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#999002cb
Content hash
999002cb
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