![]() |
XTL
0.1
eXtended Template Library
|
c++ wrapper around legacy errno based errors from the CRT More...
Inheritance diagram for xtd::crt_exception:
Collaboration diagram for xtd::crt_exception:Public Member Functions | |
| int | errnum () const |
| Error number associated with the CRT exception. More... | |
| crt_exception (const source_location &Source, const std::string &What) | |
| constructors | |
| crt_exception (const crt_exception &ex) | |
| constructors | |
| crt_exception (crt_exception &&ex) | |
| constructors | |
Public Member Functions inherited from xtd::exception | |
| exception (const source_location &Source, const std::string &What) | |
| Constructors. | |
| exception (const exception &src) | |
| Constructors. | |
| exception (exception &&src) | |
| Constructors. | |
| const char * | what () const noexceptoverride |
| }@ More... | |
| virtual const source_location & | location () const noexcept |
| location in source that caused the exception | |
Static Public Member Functions | |
| template<typename _ReturnT , typename _ExpressionT > | |
| static _ReturnT | _throw_if (const xtd::source_location &source, _ReturnT ret, _ExpressionT exp, const char *expstr) |
Static Public Member Functions inherited from xtd::exception | |
| template<typename _ReturnT , typename _ExpressionT > | |
| static _ReturnT | _throw_if (const xtd::source_location &source, _ReturnT ret, _ExpressionT exp, const char *expstr) |
| Helper function template to test for an expression and throw an exception Throws exception if the test expression returns true. More... | |
Additional Inherited Members | |
Public Types inherited from xtd::exception | |
| using | _super_t = std::exception |
| shortcut typedef of the super class | |
Protected Attributes inherited from xtd::exception | |
| int | _errnum |
| Constructors. | |
| const source_location & | _source |
| Constructors. | |
| std::string | _what |
| Constructors. | |
c++ wrapper around legacy errno based errors from the CRT
Definition at line 94 of file exception.hpp.
|
inline |
Error number associated with the CRT exception.
Definition at line 127 of file exception.hpp.
References xtd::exception::_errnum.