DEENESPTFRRUARHIKOZHNL

क्लास ara::core::Exception

[SWS_CORE_00601] Upstream: RS_AP_00130

class Exception :        public exception {...};

Base type for all ARA exception types

Header-Datei#include "ara/core/exception.h"
Forwarding-Header#include "ara/core/core_fwd.h"
Scopenamespace ara::core
Basisklasse(n)std::exception

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

सभी AUTOSAR अपवादों के लिए बेस क्लास के रूप में कार्य करता है और मूल्यांकन के लिए एक थ्रेड-सुरक्षित एरर कोड को एनकैप्सुलेट करता है।
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: d4eaa8466f70 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

सभी AUTOSAR अपवादों के लिए बेस क्लास के रूप में कार्य करता है और मूल्यांकन के लिए एक थ्रेड-सुरक्षित एरर कोड को एनकैप्सुलेट करता है।

क्लास ara::core::Exception Adaptive Platform के सभी अपवाद प्रकारों के लिए एक सामान्य बेस क्लास के रूप में कार्य करती है और एक ErrorCode को मानकीकृत C++ अपवाद पदानुक्रम में एम्बेड करती है [SWS_CORE_00611]। त्रुटियां होने पर, यह इस एरर कोड को थ्रेड-सुरक्षित रूप से एक हैंडलर तक ले जाती है, जो Error() या व्युत्पन्न मानक विधि what() के माध्यम से इसका मूल्यांकन कर सकता है [SWS_CORE_00613]। सभी ऑपरेशन सख्ती से अपवाद-सुरक्षित हैं और noexcept के रूप में घोषित हैं। व्युत्पन्न प्रकारों में आकस्मिक ऑब्जेक्ट स्लाइसिंग को रोकने के लिए, कॉपी ऑपरेशन संरक्षित हैं।

संदर्भ

क्लास ara::core::Exception AUTOSAR Adaptive Platform के भीतर सभी अपवाद प्रकारों के लिए एक सामान्य बेस क्लास के रूप में कार्य करती है। यह C++ मानक लाइब्रेरी के अपवाद प्रबंधन और AUTOSAR एरर मॉडल के बीच सेतु का काम करती है: एक ओर, यह सार्वजनिक रूप से std::exception से इनहेरिट होती है और इसके वर्चुअल सदस्य फ़ंक्शन what() [SWS_CORE_00612] को ओवरराइड करती है, दूसरी ओर, यह प्रकार ara::core::ErrorCode [SWS_CORE_00611], [SWS_CORE_00613] के एक एम्बेडेड एरर ऑब्जेक्ट को ट्रांसपोर्ट करती है।

ara::core::Exception की मुख्य ज़िम्मेदारी अपवाद की स्थिति में कॉल सीमाओं के पार संरचित तरीके से एरर जानकारी प्रदान करना है। व्याख्या: क्लास को प्लेटफ़ॉर्म के डोमेन-विशिष्ट अपवाद वर्गों के लिए एक सामान्य रूट के रूप में डिज़ाइन किया गया माना जा सकता है; इसके कॉपी ऑपरेशन व्युत्पन्न इंस्टेंस में अनपेक्षित ऑब्जेक्ट स्लाइसिंग को रोकने के लिए protected के रूप में निर्दिष्ट हैं [SWS_CORE_00614], [SWS_CORE_00618]। प्रश्न Q-20ffec7888b9e724 (खुला)

Kontext ara::core::ErrorCode ara::core::ErrorCode ara::core::Exception ara::core::Exception ara::core::ErrorCode->ara::core::Exception eingebettet in std::exception std::exception ara::core::Exception->std::exception erbt von Abgeleitete_Exception Abgeleitete_Exception Abgeleitete_Exception->ara::core::Exception erbt von

संदर्भ आरेख: std::exception, एनकैप्सुलेटेड ErrorCode और व्युत्पन्न वर्गों के बीच ara::core::Exception का एम्बेडिंग। स्रोत: [SWS_CORE_00611], [SWS_CORE_00612], [SWS_CORE_00614], [SWS_CORE_00618]।

जीवनचक्र

ara::core::Exception के निर्माण के लिए कंस्ट्रक्टर [SWS_CORE_00611] को कॉल करते समय अनिवार्य रूप से एरर कोड के स्पष्ट विनिर्देश की आवश्यकता होती है। यह कंस्ट्रक्टर noexcept के रूप में परिभाषित है और इसलिए स्वयं कोई अपवाद नहीं फेंकता है।

स्वामित्व और प्रतिलिपि क्षमताएं सख्त सुरक्षा नियमों का पालन करती हैं: कॉपी कंस्ट्रक्टर [SWS_CORE_00618] और कॉपी असाइनमेंट ऑपरेटर [SWS_CORE_00614] दोनों में एक्सेस संशोधक protected होता है। यह बेस क्लास इंटरफ़ेस के माध्यम से पॉलीमॉर्फिक सब-क्लास की अपूर्ण प्रतिलिपि को रोकता है। इसके विपरीत, संसाधनों के स्थानांतरण के लिए, मूव कंस्ट्रक्टर [SWS_CORE_00615] और संदर्भ क्वालिफायर & [SWS_CORE_00616] के साथ मूव असाइनमेंट ऑपरेटर सार्वजनिक रूप से noexcept=default के रूप में उपलब्ध हैं।

विनाश वर्चुअल डिस्ट्रक्टर [SWS_CORE_00617] के माध्यम से नियतात्मक रूप से होता है, जिसे noexcept override=default के रूप में निर्दिष्ट किया गया है और यह व्युत्पन्न इंस्टेंस का उचित क्लीनअप सुनिश्चित करता है। विधियों तक समवर्ती रीड एक्सेस के साथ-साथ इंस्टेंटिएशन को थ्रेड-सुरक्षित घोषित किया गया है [SWS_CORE_00611], [SWS_CORE_00612], [SWS_CORE_00613]।

उपयोग पथ

नियमित प्रवाह एरर का पता लगाने से लेकर अपवाद को ट्रिगर करने और अपवाद हैंडलर में संरचित निदान तक विस्तृत है:

  • निर्माण और ट्रिगर करना: एक घटक किसी एरर स्थिति की पहचान करता है, उपयुक्त ErrorCode [SWS_CORE_00611] के साथ Exception को इंस्टेंटिएट करता है और ऑब्जेक्ट को throw के माध्यम से थ्रो करता है।
  • कैच करना: एक उच्च-स्तरीय ब्लॉक संदर्भ द्वारा ऑब्जेक्ट को कैच करता है (उदाहरण के लिए const ara::core::Exception& के रूप में या पॉलीमॉर्फिक रूप से const std::exception& के रूप में)।
  • मानकीकृत टेक्स्ट आउटपुट: what() के माध्यम से नल-टर्मिनेटेड स्ट्रिंग के रूप में एक टेक्स्ट विवरण प्राप्त किया जा सकता है [SWS_CORE_00612]। std::exception::what की सभी जीवनकाल गारंटी पूरी तरह से बनी रहती हैं।
  • विस्तृत एरर जांच: सदस्य फ़ंक्शन Error() के माध्यम से, हैंडलर सिस्टम-विशिष्ट एरर डोमेन और कोड्स का मशीनी मूल्यांकन करने के लिए एम्बेडेड ErrorCode के एक स्थिर संदर्भ तक पहुंचता है [SWS_CORE_00613]।
ara::core::Exception में इंस्टैंशिएशन और त्रुटि क्वेरीFehlerstelleara::core::Exceptionत्रुटि प्रबंधनException(err)throwwhat()const char*Error()const ErrorCode&

अनुक्रम आरेख: इंस्टेंटिएशन से एरर क्वेरी तक विशिष्ट कॉल अनुक्रम। स्रोत: [SWS_CORE_00611], [SWS_CORE_00612], [SWS_CORE_00613]।

त्रुटि परिदृश्य

चूँकि ara::core::Exception स्वयं एरर स्थितियों के लिए वाहक ऑब्जेक्ट का प्रतिनिधित्व करता है, इसलिए सभी ऑपरेशन अधिकतम दोष सहनशीलता के लिए डिज़ाइन किए गए हैं:

  • अपवाद सुरक्षा: सभी सदस्य फ़ंक्शन – जिनमें कंस्ट्रक्टर, असाइनमेंट ऑपरेटर, डिस्ट्रक्टर और निरीक्षण विधियां शामिल हैं – स्पष्ट रूप से noexcept के रूप में घोषित हैं और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट हैं [SWS_CORE_00611], [SWS_CORE_00612], [SWS_CORE_00613], [SWS_CORE_00614], [SWS_CORE_00615], [SWS_CORE_00616], [SWS_CORE_00617], [SWS_CORE_00618]। यह अपवाद हैंडलिंग के दौरान घातक परिणामी अपवादों को रोकता है।
  • लाइफ़टाइम शर्तें: Error() द्वारा प्रदान किया गया संदर्भ अपवाद ऑब्जेक्ट [SWS_CORE_00613] से बाइंड होता है; इसका उपयोग Exception के लाइफ़टाइम के बाद नहीं किया जाना चाहिए। what() की वापसी के लिए मानक लाइब्रेरी के लाइफ़टाइम नियम लागू होते हैं [SWS_CORE_00612]।
  • अमान्य ऑब्जेक्ट स्थितियों की रोकथाम: protected क्षेत्र में कॉपी ऑपरेशनों के इनकैप्सुलेशन द्वारा यह रोका जाता है कि बहुरूपी उपवर्ग (polymorphic subclasses) स्लाइसिंग के कारण अनजाने में असंगत न हो जाएं [SWS_CORE_00614], [SWS_CORE_00618]।

यह मार्गदर्शिका AUTOSAR Adaptive Platform रिलीज़ R25-11 के विनिर्देश पर आधारित है।

सदस्य मानचित्र

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

2

मेथड

2

ऑपरेटर

1

क्लास आरेख

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__core__Exception792 Exception + Exception() + operator=() + ~Exception() + Error() + what() nstd__exception10 std::exception nara__core__Exception792->nstd__exception10 napext__com__secoc__ComSecOcFvmException158 ComSecOcFvmException napext__com__secoc__ComSecOcFvmException158->nara__core__Exception792 napext__tsync__TsyncFvmException780 TsyncFvmException napext__tsync__TsyncFvmException780->nara__core__Exception792 nara__com__ComException152 ComException nara__com__ComException152->nara__core__Exception792 nara__com__e2e__ComE2EException703 ComE2EException nara__com__e2e__ComE2EException703->nara__core__Exception792 nara__core__CoreException713 CoreException nara__core__CoreException713->nara__core__Exception792 nara__core__FutureException511 FutureException nara__core__FutureException511->nara__core__Exception792 nara__crypto__CryptoException764 CryptoException nara__crypto__CryptoException764->nara__core__Exception792 nara__diag__DiagException942 DiagException nara__diag__DiagException942->nara__core__Exception792 nara__diag__DiagOfferException442 DiagOfferException nara__diag__DiagOfferException442->nara__core__Exception792 nara__diag__DiagReportingException911 DiagReportingException nara__diag__DiagReportingException911->nara__core__Exception792 nara__diag__DiagSovdException335 DiagSovdException nara__diag__DiagSovdException335->nara__core__Exception792 nara__diag__DiagUdsNrcException343 DiagUdsNrcException nara__diag__DiagUdsNrcException343->nara__core__Exception792 nara__exec__ExecException556 ExecException nara__exec__ExecException556->nara__core__Exception792 nara__per__PerException768 PerException nara__per__PerException768->nara__core__Exception792 nara__phm__PhmException101 PhmException nara__phm__PhmException101->nara__core__Exception792 nara__sm__SmException872 SmException nara__sm__SmException872->nara__core__Exception792 nara__tsync__TsyncException184 TsyncException nara__tsync__TsyncException184->nara__core__Exception792

विवरण दृश्य

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

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

Exception फ़ंक्शन 3

Construct a new Exception object with a specific ErrorCode

ओवरलोड Exception 3
explicit Exception (ErrorCode err) noexcept; SWS_CORE_00611
Exception (Exception &&other) noexcept=default; SWS_CORE_00615
Exception (const Exception &other) noexcept=default; SWS_CORE_00618
~Exception फ़ंक्शन

Destructor

~Exception () noexcept override=default;

मेथड

Error फ़ंक्शन

Return the embedded ErrorCode that was given to the constructor

const ErrorCode & Error () const noexcept;
what फ़ंक्शन

Return the explanatory string. This function overrides the virtual function std::exception:: what. All guarantees about the lifetime of the returned pointer that are given for std::exception::what are preserved. ≙ std::exception::

const char * what () const noexcept override;

ऑपरेटर

operator= फ़ंक्शन 2

Copy assignment operator

ओवरलोड = 2
Exception & operator= (const Exception &other) noexcept=default; SWS_CORE_00614
Exception & operator= (Exception &&other) & noexcept=default; SWS_CORE_00616

मेथड का प्रलेखन

फ़ंक्शन Error [SWS_CORE_00613] Upstream: RS_AP_00130

const ErrorCode & Error () const noexcept;

Return the embedded ErrorCode that was given to the constructor

Header-Datei#include "ara/core/exception.h"
Scopeclass ara::core::Exception
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
const ErrorCode &reference to the embedded ErrorCode

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

Record
AUTOSAR/AP/record/SWS_CORE_00613
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00613@rel:R25-11#1c94306b
Content hash
1c94306b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00613
Status: valid/unmigrated Version: rel:R25-11#768fb30b Versionshistorie & Revisions (1 transition, 8 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_CORE_00613@rel:R25-11#768fb30b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#427b88162026-09-30
  • R19-11rel:R19-11#11313e132026-10-14
  • R20-11rel:R20-11#60c96c392026-10-14
  • R21-11rel:R21-11#51ca3dce2026-10-14
  • R22-11rel:R22-11#04096f212026-10-14
  • R23-11rel:R23-11#e6cdb2be2026-10-14
  • R24-11rel:R24-11#538a90522026-10-14
  • R25-11rel:R25-11#768fb30b2026-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_CORE_00611] Upstream: RS_AP_00130

explicit Exception (ErrorCode err) noexcept;

Construct a new Exception object with a specific ErrorCode

Header-Datei#include "ara/core/exception.h"
Scopeclass ara::core::Exception
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
errthe ErrorCode

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

Record
AUTOSAR/AP/record/SWS_CORE_00611
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00611@rel:R25-11#16bb5961
Content hash
16bb5961
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00611
Status: valid/unmigrated Version: rel:R25-11#4a7f399f Versionshistorie & Revisions (1 transition, 8 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_CORE_00611@rel:R25-11#4a7f399f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#eb72a7632026-09-30
  • R19-11rel:R19-11#94d626ce2026-10-14
  • R20-11rel:R20-11#ac6eb9352026-10-14
  • R21-11rel:R21-11#2f59dd412026-10-14
  • R22-11rel:R22-11#211731882026-10-14
  • R23-11rel:R23-11#cf9a6fa22026-10-14
  • R24-11rel:R24-11#d3d5d4b82026-10-14
  • R25-11rel:R25-11#4a7f399f2026-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_CORE_00615] Upstream: RS_AP_00130

Exception (Exception &&other) noexcept=default;

Move constructor

Header-Datei#include "ara/core/exception.h"
Scopeclass ara::core::Exception
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherthe other instance to move from

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

Record
AUTOSAR/AP/record/SWS_CORE_00615
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00615@rel:R25-11#6c870736
Content hash
6c870736
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00615
Status: valid/unmigrated Version: rel:R25-11#430cfd8b Versionshistorie & Revisions (1 transition, 5 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_CORE_00615@rel:R25-11#430cfd8b
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#2fbd2fce2026-09-30
  • R22-11rel:R22-11#095dd28c2026-10-14
  • R23-11rel:R23-11#a22844c12026-10-14
  • R24-11rel:R24-11#c20d19892026-10-14
  • R25-11rel:R25-11#430cfd8b2026-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_CORE_00618] Upstream: RS_AP_00130

Exception (const Exception &other) noexcept=default;

Copy constructor

Header-Datei#include "ara/core/exception.h"
Scopeclass ara::core::Exception
Exception-Sicherheitexception safe
Sichtbarkeitprotected

Parameter (in)

ParameterBeschreibung
otherthe other instance
Hinweise: This function has protected access specifier in order to prevent some opportunities for accidental object slicing

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

Record
AUTOSAR/AP/record/SWS_CORE_00618
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00618@rel:R25-11#6f87fbfb
Content hash
6f87fbfb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00618
Status: valid/unmigrated Version: rel:R25-11#96699454 Versionshistorie & Revisions (1 transition, 5 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_CORE_00618@rel:R25-11#96699454
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#f169ce042026-09-30
  • R22-11rel:R22-11#475a09972026-10-14
  • R23-11rel:R23-11#c7c458632026-10-14
  • R24-11rel:R24-11#03f9f8d22026-10-14
  • R25-11rel:R25-11#966994542026-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

फ़ंक्शन operator= [SWS_CORE_00614] Upstream: RS_AP_00130

Exception & operator= (const Exception &other) noexcept=default;

Copy assignment operator

Header-Datei#include "ara/core/exception.h"
Scopeclass ara::core::Exception
Exception-Sicherheitexception safe
Sichtbarkeitprotected

Parameter (in)

ParameterBeschreibung
otherthe other instance

Rückgabewert

TypBeschreibung
Exception &*this
Hinweise: This function has protected access specifier in order to prevent some opportunities for accidental object slicing

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

Record
AUTOSAR/AP/record/SWS_CORE_00614
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00614@rel:R25-11#e59c6f7b
Content hash
e59c6f7b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00614
Status: valid/unmigrated Version: rel:R25-11#0a81f511 Versionshistorie & Revisions (1 transition, 7 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_CORE_00614@rel:R25-11#0a81f511
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#63a7a2e52026-09-30
  • R20-11rel:R20-11#1ef5644f2026-10-14
  • R21-11rel:R21-11#1ef5644f2026-10-14
  • R22-11rel:R22-11#4036011d2026-10-14
  • R23-11rel:R23-11#0996bea22026-10-14
  • R24-11rel:R24-11#ad63d8312026-10-14
  • R25-11rel:R25-11#0a81f5112026-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

फ़ंक्शन operator= [SWS_CORE_00616] Upstream: RS_AP_00130

Exception & operator= (Exception &&other) & noexcept=default;

Move assignment operator

Header-Datei#include "ara/core/exception.h"
Scopeclass ara::core::Exception
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherthe other instance to move from

Rückgabewert

TypBeschreibung
Exception &*this

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

Record
AUTOSAR/AP/record/SWS_CORE_00616
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00616@rel:R25-11#f4fa5a6a
Content hash
f4fa5a6a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00616
Status: valid/unmigrated Version: rel:R25-11#eb8d2ad7 Versionshistorie & Revisions (1 transition, 5 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_CORE_00616@rel:R25-11#eb8d2ad7
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#cf7be0402026-09-30
  • R22-11rel:R22-11#62dd53c82026-10-14
  • R23-11rel:R23-11#16771f172026-10-14
  • R24-11rel:R24-11#03c97c992026-10-14
  • R25-11rel:R25-11#eb8d2ad72026-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

फ़ंक्शन what [SWS_CORE_00612] Upstream: RS_AP_00130

const char * what () const noexcept override;

Return the explanatory string. This function overrides the virtual function std::exception:: what. All guarantees about the lifetime of the returned pointer that are given for std::exception::what are preserved.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 1b4e9bb17f9a उद्गम
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::Exception का मेंबर फ़ंक्शन what उत्पन्न हुई त्रुटि के संबंध में एक व्याख्यात्मक स्ट्रिंग को तुल्यकालिक रूप से प्राप्त करने के लिए कार्य करता है [SWS_CORE_00612]। यह वर्चुअल फ़ंक्शन std::exception::what को ओवरराइड करता है और एक नल-टर्मिनेटेड स्ट्रिंग (const char*) का पॉइंटर लौटाता है [SWS_CORE_00612]।

उपयोग और जीवनकाल

फ़ंक्शन किसी पासिंग पैरामीटर की अपेक्षा नहीं करता है। लौटाए गए पॉइंटर की वैधता के संबंध में वे सभी गारंटी सुरक्षित रहती हैं जो std::exception::what पर लागू होती हैं [SWS_CORE_00612]। फ़ंक्शन का उपयोग करने के लिए, हेडर फ़ाइल ara/core/exception.h को शामिल (include) किया जाना चाहिए [SWS_CORE_00612]।

त्रुटि हैंडलिंग और समवर्तीता

  • Ausnahmesicherheit: ऑपरेशन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है; यह स्वयं कोई अपवाद नहीं फेंकता है [SWS_CORE_00612]।
  • समवर्तीता: निष्पादन को थ्रेड-सुरक्षित (thread-safe) के रूप में निर्दिष्ट किया गया है [SWS_CORE_00612]। इस प्रकार समानांतर थ्रेड्स से कॉल सुरक्षित रूप से की जा सकती हैं।

यह उपयोग संबंधी निर्देश स्वचालित रूप से उत्पन्न किया गया था।

Header-Datei#include "ara/core/exception.h"
Scopeclass ara::core::Exception
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
const char *a null-terminated string

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

Record
AUTOSAR/AP/record/SWS_CORE_00612
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00612@rel:R25-11#637f49aa
Content hash
637f49aa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00612
Status: valid/unmigrated Version: rel:R25-11#4dc7ac4e Versionshistorie & Revisions (1 transition, 8 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_CORE_00612@rel:R25-11#4dc7ac4e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b339be862026-09-30
  • R19-11rel:R19-11#c863b8c62026-10-14
  • R20-11rel:R20-11#ef5213282026-10-14
  • R21-11rel:R21-11#ef5213282026-10-14
  • R22-11rel:R22-11#35f8a78d2026-10-14
  • R23-11rel:R23-11#0d1482f32026-10-14
  • R24-11rel:R24-11#260c2d462026-10-14
  • R25-11rel:R25-11#4dc7ac4e2026-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_CORE_00617] Upstream: RS_AP_00130, RS_AP_00145

~Exception () noexcept override=default;

Destructor

Header-Datei#include "ara/core/exception.h"
Scopeclass ara::core::Exception
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_00617
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00617@rel:R25-11#4644220e
Content hash
4644220e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00617
Status: valid/unmigrated Version: rel:R25-11#f3733454 Versionshistorie & Revisions (1 transition, 5 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_CORE_00617@rel:R25-11#f3733454
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#6ae22c3b2026-09-30
  • R22-11rel:R22-11#c4c5573b2026-10-14
  • R23-11rel:R23-11#08d2767c2026-10-14
  • R24-11rel:R24-11#8a264f6d2026-10-14
  • R25-11rel:R25-11#f37334542026-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