33 lines
625 B
C++
33 lines
625 B
C++
|
|
/*
|
|||
|
|
* ReenteraptException.hh
|
|||
|
|
*
|
|||
|
|
* Created on: 11 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
|
|||
|
|
* 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_ */
|