Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
ara::diag::routing::NrcExecption Class Reference

Negative Response Code Exception. More...

#include <nrc_exception.h>

Inheritance diagram for ara::diag::routing::NrcExecption:

Public Member Functions

 NrcExecption (uint8_t nrc) noexcept
 Constructor. More...
 
uint8_t GetNrc () const noexcept
 Get NRC. More...
 

Detailed Description

Negative Response Code Exception.

Constructor & Destructor Documentation

◆ NrcExecption()

ara::diag::routing::NrcExecption::NrcExecption ( uint8_t  nrc)
explicitnoexcept

Constructor.

Parameters
nrcNegative Response Code

Member Function Documentation

◆ GetNrc()

uint8_t ara::diag::routing::NrcExecption::GetNrc ( ) const
noexcept

Get NRC.

Returns
Negative response code that the exception contains