27 lines
544 B
C++
27 lines
544 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";
|
|
|
|
}
|