MotorControlModuleSDFM_TMS3.../Projects/EFC_Application/UMLibrary/systemic/ReenteraptException.cpp

27 lines
544 B
C++
Raw Permalink Normal View History

/*
* ReenteraptException.cpp
*
* Created on: 11 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
* Author: titov
*/
#include "ReenteraptException.hh"
std::size_t systemic::ReenteraptException::id() const noexcept {
return 9376;
}
std::pair<const char *, std::size_t> systemic::ReenteraptException::binary() const noexcept {
return std::pair<const char *, std::size_t>( reinterpret_cast<const char *>(this), sizeof(ReenteraptException) );
}
const char * systemic::ReenteraptException::what() const noexcept {
return "Interrupt critical section";
}