Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
ara::exec::ExecException Class Reference

Execution Management exception. More...

#include <exec_exception.h>

Inheritance diagram for ara::exec::ExecException:

Public Member Functions

 ExecException (core::ErrorCode errorCode) noexcept
 Constructor. More...
 
const core::ErrorDomainGetExecErrorDomain () noexcept
 Get the exception error domain. More...
 
core::ErrorCode MakeErrorCode (ExecErrc code) noexcept
 Make a error code in the same error domain. More...
 
const core::ErrorCodeGetErrorCode () const noexcept
 Get the error code. More...
 

Detailed Description

Execution Management exception.

Constructor & Destructor Documentation

◆ ExecException()

ara::exec::ExecException::ExecException ( core::ErrorCode  errorCode)
explicitnoexcept

Constructor.

Parameters
errorCodeException error code in the current error domain

Member Function Documentation

◆ GetErrorCode()

const core::ErrorCode & ara::exec::ExecException::GetErrorCode ( ) const
noexcept

Get the error code.

Returns
Exception error code reference
Note
This is not an ARA specified property.

◆ GetExecErrorDomain()

const core::ErrorDomain & ara::exec::ExecException::GetExecErrorDomain ( )
noexcept

Get the exception error domain.

Returns
EM error domain

◆ MakeErrorCode()

core::ErrorCode ara::exec::ExecException::MakeErrorCode ( ExecErrc  code)
noexcept

Make a error code in the same error domain.

Parameters
codeEM error code number
Returns
Created error code with determined error number