Woman, Life, Freedom
Adaptive AUTOSAR
ARA public interface header documentation
nrc_exception.h
1
#ifndef NRC_EXCEPTION_H
2
#define NRC_EXCEPTION_H
3
4
#include <stdint.h>
5
#include <exception>
6
7
namespace
ara
8
{
9
namespace
diag
10
{
11
namespace
routing
12
{
14
class
NrcExecption
:
public
std::exception
15
{
16
private
:
17
const
uint8_t mNrc;
18
19
public
:
20
NrcExecption
() =
delete
;
23
explicit
NrcExecption
(uint8_t nrc)
noexcept
;
24
27
uint8_t
GetNrc
()
const
noexcept
;
28
};
29
}
30
}
31
}
32
#endif
ara::diag::routing::NrcExecption
Negative Response Code Exception.
Definition:
nrc_exception.h:15
ara::diag::routing::NrcExecption::GetNrc
uint8_t GetNrc() const noexcept
Get NRC.
Definition:
nrc_exception.cpp:13
src
ara
diag
routing
nrc_exception.h
Generated by
1.9.2