함수 Message [SWS_TS_00907] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00130
const char * Message (CodeType errorCode) const noexcept override;
Returns the message associated with errorCode.
사용
ara::tsync::TsyncErrorDomain 클래스의 Message 메서드는 전달된 오류 코드에 대한 텍스트 오류 설명을 동기적으로 가져오는 데 사용됩니다 [SWS_TS_00907]. 이는 헤더 #include "ara/tsync/tsync_error_domain.h"을 통해 제공됩니다. 입력 매개변수로 이 함수는 CodeType 타입의 errorCode를 받아 해당 메시지에 대한 상수 문자열 포인터(const char *)를 반환합니다 [SWS_TS_00907].
오류 처리 및 동시성
이 인터페이스는 완전한 예외 안전성(exception safe)을 보장하며 noexcept로 선언되어 있으므로 호출이 C++ 예외 없이 실행됨이 보장됩니다 [SWS_TS_00907]. 또한 이 함수는 thread-safe으로 명세되어 여러 스레드에서 동시에 안심하고 호출할 수 있습니다 [SWS_TS_00907]. 해석: 반환된 const char *는 변경 불가능한 정적 메모리를 가리킬 것으로 보이므로 호출자가 수동으로 메모리를 해제할 필요가 없습니다. 질문 Q-933f88e4fde03016 (열림)
상호 작용
재정의된 메서드(override)로서 이 함수는 AUTOSAR Adaptive의 통합 오류 모델에 통합됩니다 [SWS_TS_00907]. 유사한 방식으로 헤더 #include "apext/tsync/fvm_error_domain.h"의 apext::tsync::TsyncFvmErrorDomain 역시 스레드 및 예외 안전성에 관한 동일한 보장 하에 도메인별 오류 텍스트를 확인하기 위한 동명의 Message 함수를 구현합니다 [SWS_TS_14210].
이 사용 지침은 명세를 기반으로 자동 생성되었습니다.
| Header-Datei | #include "ara/tsync/tsync_error_domain.h" |
|---|---|
| Scope | class ara::tsync::TsyncErrorDomain |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| errorCode | The error code number. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| const char * | The message associated with the error code. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_TS_00907- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_TS_00907@rel:R25-11#5582b435- Content hash
5582b435- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_00907
Status: valid/unmigrated
Version: rel:R25-11#16ac395e
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_TS_00907@rel:R25-11#16ac395e
Recorded Revisions (4):
- R25-11
rel:R25-11#fb6984b62026-09-30 - R23-11
rel:R23-11#92c825fc2026-10-14 - R24-11
rel:R24-11#16ac395e2026-10-14 - R25-11
rel:R25-11#16ac395e2026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 독일어 원문