27 lines
548 B
C++
27 lines
548 B
C++
/*
|
||
* ReenteraptException.cpp
|
||
*
|
||
* Created on: 11 янв. 2023 г.
|
||
* 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";
|
||
|
||
}
|