33 lines
629 B
C++
33 lines
629 B
C++
/*
|
||
* ReenteraptException.hh
|
||
*
|
||
* Created on: 11 янв. 2023 г.
|
||
* Author: titov
|
||
*/
|
||
|
||
#ifndef UMLIBRARY_SYSTEMIC_REENTERAPTEXCEPTION_HH_
|
||
#define UMLIBRARY_SYSTEMIC_REENTERAPTEXCEPTION_HH_
|
||
|
||
#include "SystemException.hh"
|
||
|
||
#include <stdint.h>
|
||
|
||
namespace systemic {
|
||
|
||
struct ReenteraptException : public SystemException {
|
||
|
||
std::size_t id() const noexcept;
|
||
std::pair<const char *, std::size_t> binary() const noexcept;
|
||
const char * what() const noexcept;
|
||
|
||
ReenteraptException( uint16_t identy ) : section_id(identy) {}
|
||
|
||
uint16_t section_id;
|
||
|
||
};
|
||
|
||
}
|
||
|
||
|
||
#endif /* UMLIBRARY_SYSTEMIC_REENTERAPTEXCEPTION_HH_ */
|