#include <oess_1/defs/h/declspec.hpp>
#include <sstream>
#include <exception>
#include <oess_1/defs/h/err_code.hpp>
Пространства имен | |
| namespace | oess_1 |
Классы | |
| class | ex_t |
| class | logic_ex_t |
| class | physic_ex_t |
Макросы | |
| #define | _OESS_1__DEFS__EX_HPP_ |
| #define | OESS_THROW_LOGIC(c, m) |
| #define | OESS_THROW_PHYSIC(c, m) |
| #define OESS_THROW_LOGIC | ( | c, | |||
| m | ) |
Макроопределение:
{ \
std::ostringstream msg; \
msg << m; \
throw oess_1::logic_ex_t( oess_1_make_err( c, msg.str() ) ); \
}
| c | Целочисленный код ошибки. | |
| m | Выражение, формирующее описание ошибки (например: "file not found: " << file_name << ", reason: " << error_reason). |
| #define OESS_THROW_PHYSIC | ( | c, | |||
| m | ) |
Макроопределение:
{ \
std::ostringstream msg; \
msg << m; \
throw oess_1::physic_ex_t( oess_1_make_err( c, msg.str() ) ); \
}
| c | Целочисленный код ошибки. | |
| m | Выражение, формирующее описание ошибки (например: "file not found: " << file_name << ", reason: " << error_reason). |
1.4.7