a throw's whole diagnostic: the OS result, where it was raised (frame, file, line), the thread and the moment, a formatted comment and the exception it grew out of. Each frame on the way out wraps the one below into a new exception of its own - dx_catchall and friends do nothing else - so previous is the chain down to the origin, deep copied and owned by the wrapper; dx::trace::unfold prints it. The constructor overloads below are one signature per combination of the optional leading arguments (previous, function, error, what) ahead of the mandatory frame/file/line, with and without the printf-style comment.
More...
|
| | exception() |
| | exception(const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const char* function, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const char* function, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const char* function, const std::string& what, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const char* function, const std::string& what, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const char* function, os_result error, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const char* function, os_result error, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const char* function, os_result error, const std::string& what, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const char* function, os_result error, const std::string& what, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const exception& copy) noexcept |
| | exception(const exception* previous, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const exception* previous, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const exception* previous, const char* function, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const exception* previous, const char* function, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const exception* previous, const char* function, const std::string& what, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const exception* previous, const char* function, const std::string& what, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const exception* previous, const char* function, os_result error, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const exception* previous, const char* function, os_result error, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| template<typename ... arg_t> |
| | exception(const exception* previous, const char* function, os_result error, const std::string& what, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | chained complete constructor with variadic comment
|
| | exception(const exception* previous, const char* function, os_result error, const std::string& what, const char* frame, const char* file, unsigned int line, const std::string& comment= "") |
| | complete base constructor without variadic comment
|
| | exception(const exception* previous, const std::string& what, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const exception* previous, const std::string& what, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const exception* previous, os_result error, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const exception* previous, os_result error, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const exception* previous, os_result error, const std::string& what, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const exception* previous, os_result error, const std::string& what, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(const std::string& what, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(const std::string& what, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(os_result error, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(os_result error, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| | exception(os_result error, const std::string& what, const char* frame, const char* file, unsigned int line) noexcept |
| template<typename ... arg_t> |
| | exception(os_result error, const std::string& what, const char* frame, const char* file, unsigned int line, arg_t... args) noexcept |
| exception& | operator =(const exception& copy) noexcept |
| virtual | ~exception() |
a throw's whole diagnostic: the OS result, where it was raised (frame, file, line), the thread and the moment, a formatted comment and the exception it grew out of. Each frame on the way out wraps the one below into a new exception of its own - dx_catchall and friends do nothing else - so previous is the chain down to the origin, deep copied and owned by the wrapper; dx::trace::unfold prints it. The constructor overloads below are one signature per combination of the optional leading arguments (previous, function, error, what) ahead of the mandatory frame/file/line, with and without the printf-style comment.