DEENESPTFRRUARHIKOZHNL

class ara::rds::RdsErrorDomain

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

[SWS_RDS_11293] · Header ara/rds/rds_error_domain.h

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

Error domain of Raw Data Stream.

Header-Datei#include "ara/rds/rds_error_domain.h"
Scopenamespace ara::rds

User GuideAI-GENERATED

Encapsulates error codes, diagnostic messages, and exception types for operations in the Raw Data Stream functional cluster.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 81f3fdb4f855 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Encapsulates error codes, diagnostic messages, and exception types for operations in the Raw Data Stream functional cluster.

The error domain ara::rds::RdsErrorDomain identifies and categorizes specific error states of the Raw Data Stream module according to AUTOSAR_AP_SWS_RawDataStream §1 “Raw Data Stream”. It provides associated error message texts and allows throwing errors as exceptions [SWS_RDS_11296]. Because the default constructor is deleted [SWS_RDS_11294], applications access the central instance via the free function GetRdsErrorDomain() [SWS_RDS_11298].

Context

The class ara::rds::RdsErrorDomain represents the specific error domain for the Raw Data Stream (RDS) functional cluster on the Adaptive Platform AUTOSAR_AP_SWS_RawDataStream §1 “Raw Data Stream”. As a specialization of the base class ara::core::ErrorDomain, it integrates stream-related error states into the platform-wide error handling model of AUTOSAR. Core responsibilities of the class include providing a unique domain name via the Name() method [SWS_RDS_11295] and mapping error codes to meaningful diagnostic messages using Message() [SWS_RDS_11296].

For consistent handling in client code, the domain defines standardized type aliases: The alias Errc refers to the enumeration RdsErrc [SWS_RDS_11326], while the type alias Exception is bound to the exception type RdsException [SWS_RDS_11327]. Interaction partners primarily include application components, streaming endpoints, and the infrastructure types ara::core::ErrorCode and ara::core::Result, which use the error domain to identify encountered errors.

Lifecycle

Instances of ara::rds::RdsErrorDomain are subject to a strictly controlled lifecycle. Direct instantiation by client code is explicitly prevented because the default constructor is deleted (=delete) [SWS_RDS_11294]. Instead, access is realized via the global helper function GetRdsErrorDomain(), which returns a constant reference to the domain [SWS_RDS_11298].

Interpretation: The error domain is likely implemented as a long-lived singleton that exists throughout the entire execution duration of the process. Question (open) Because all querying interfaces such as Name() [SWS_RDS_11295] and Message() [SWS_RDS_11296] are declared as const as well as noexcept, thread-safe concurrent read access by multiple threads is possible without synchronization overhead.

Usage Path

The typical usage path occurs as soon as an operation of the Raw Data Stream fails and a corresponding error object must be analyzed or propagated. An application or middleware layer typically receives an error object bound to the domain or references the domain directly via GetRdsErrorDomain() [SWS_RDS_11298]. The associated text of the error code can be queried at runtime via the Message() method and logged in log outputs [SWS_RDS_11296].

If the error handling strategy of the application is based on C++ exceptions, the ThrowAsException() method is called [SWS_RDS_11297]. This transforms the passed ara::core::ErrorCode into an exception of type RdsException specified via the type alias Exception [SWS_RDS_11327].

Error handling and exception throwing via RdsErrorDomainApplicationRdsErrorDomainRdsExceptionGetRdsErrorDomain()const ara::core::ErrorDomain&altDiagnosetext abfragenMessage(errorCode)const char* (Fehlermeldung)Ausnahme werfenThrowAsException(errorCode)throw RdsException(errorCode)

Sequence diagram: Typical flow of error handling and exception throwing via the Raw Data Stream error domain. Sources: [SWS_RDS_11296], [SWS_RDS_11297], [SWS_RDS_11298]

Error Scenarios

In the context of the error domain itself, no exceptions occur during regular queries: The identification and localization methods Name() [SWS_RDS_11295] and Message() [SWS_RDS_11296] guarantee freedom from errors through their noexcept specification. The access function GetRdsErrorDomain() also never fails [SWS_RDS_11298].

The primary error scenario concerns exception handling: If a caller invokes ThrowAsException() with a valid ara::core::ErrorCode, the method does not terminate regularly, but mandatorily throws an exception (noexcept(false)) of type RdsException [SWS_RDS_11297]. A precondition for this call is passing a consistent error code from the domain; the postcondition is triggering the exception in the caller context for further handling in the corresponding catch block.

This guide was generated by an AI based on the AUTOSAR R25-11 specification.

Member map

Constructors and destructor

1

Type aliases

2

Detail view

Select an entry in the outline.

Constructors and destructor

Default construction is not available.

RdsErrorDomain()=delete;

Methods

Message function

Returns the error message.

const char *Message(CodeType errorCode) const noexcept override;
Name function

Returns the error-domain name.

const char *Name() const noexcept override;

Throws the error as RdsException.

void ThrowAsException(const ara::core::ErrorCode &errorCode) const noexcept(false) override;

Type aliases

Errc type alias

Alias for RDS error enumeration.

using Errc = RdsErrc;
Exception type alias

Alias for RDS exception type.

using Exception = RdsException;

Documentation of methods and types

type alias Errc [SWS_RDS_11326]

using Errc = RdsErrc;

Alias for RDS error enumeration.

Header-Datei#include "ara/rds/rds_error_domain.h"
Scopeclass ara::rds::RdsErrorDomain

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

Record
AUTOSAR/AP/record/SWS_RDS_11326
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_11326@rel:R25-11#c8327f21
Content hash
c8327f21
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_11326
Status: valid/unmigrated Version: rel:R25-11#94ff0a09 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_RDS_11326@rel:R25-11#94ff0a09
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#c8327f212026-09-30
  • R24-11rel:R24-11#144565cf2026-10-14
  • R25-11rel:R25-11#94ff0a092026-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_RDS_11327]

using Exception = RdsException;

Alias for RDS exception type.

Header-Datei#include "ara/rds/rds_error_domain.h"
Scopeclass ara::rds::RdsErrorDomain

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

Record
AUTOSAR/AP/record/SWS_RDS_11327
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_11327@rel:R25-11#36d13330
Content hash
36d13330
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_11327
Status: valid/unmigrated Version: rel:R25-11#21bb875f 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_RDS_11327@rel:R25-11#21bb875f
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#36d133302026-09-30
  • R24-11rel:R24-11#1fedd24e2026-10-14
  • R25-11rel:R25-11#21bb875f2026-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 RdsErrorDomain [SWS_RDS_11294]

RdsErrorDomain()=delete;

Default construction is not available.

Header-Datei#include "ara/rds/rds_error_domain.h"
Scopeclass ara::rds::RdsErrorDomain

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

Record
AUTOSAR/AP/record/SWS_RDS_11294
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_11294@rel:R25-11#5b9df14b
Content hash
5b9df14b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_11294
Status: valid/unmigrated Version: rel:R25-11#1ea75505 Versionshistorie & Revisions (1 transition, 4 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_RDS_11294@rel:R25-11#1ea75505
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5b9df14b2026-09-30
  • R23-11rel:R23-11#3463713e2026-10-14
  • R24-11rel:R24-11#d4499d3c2026-10-14
  • R25-11rel:R25-11#1ea755052026-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_RDS_11296]

const char *Message(CodeType errorCode) const noexcept override;

Returns the error message.

Header-Datei#include "ara/rds/rds_error_domain.h"
Scopeclass ara::rds::RdsErrorDomain

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

Record
AUTOSAR/AP/record/SWS_RDS_11296
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_11296@rel:R25-11#a75ddc3a
Content hash
a75ddc3a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_11296
Status: valid/unmigrated Version: rel:R25-11#2b586955 Versionshistorie & Revisions (1 transition, 4 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_RDS_11296@rel:R25-11#2b586955
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#a75ddc3a2026-09-30
  • R23-11rel:R23-11#d034c3302026-10-14
  • R24-11rel:R24-11#a6889a7d2026-10-14
  • R25-11rel:R25-11#2b5869552026-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_RDS_11295]

const char *Name() const noexcept override;

Returns the error-domain name.

Header-Datei#include "ara/rds/rds_error_domain.h"
Scopeclass ara::rds::RdsErrorDomain

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

Record
AUTOSAR/AP/record/SWS_RDS_11295
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_11295@rel:R25-11#e3767bf3
Content hash
e3767bf3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_11295
Status: valid/unmigrated Version: rel:R25-11#d1b0e6cd Versionshistorie & Revisions (1 transition, 4 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_RDS_11295@rel:R25-11#d1b0e6cd
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#e3767bf32026-09-30
  • R23-11rel:R23-11#26a4e5f62026-10-14
  • R24-11rel:R24-11#73b131092026-10-14
  • R25-11rel:R25-11#d1b0e6cd2026-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_RDS_11297]

void ThrowAsException(const ara::core::ErrorCode &errorCode) const noexcept(false) override;

Throws the error as RdsException.

Header-Datei#include "ara/rds/rds_error_domain.h"
Scopeclass ara::rds::RdsErrorDomain

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

Record
AUTOSAR/AP/record/SWS_RDS_11297
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_11297@rel:R25-11#d1842e56
Content hash
d1842e56
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_11297
Status: valid/unmigrated Version: rel:R25-11#6d26902c Versionshistorie & Revisions (1 transition, 4 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_RDS_11297@rel:R25-11#6d26902c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#d1842e562026-09-30
  • R23-11rel:R23-11#d4e06e202026-10-14
  • R24-11rel:R24-11#8a27c9032026-10-14
  • R25-11rel:R25-11#6d26902c2026-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