-lttng::posix_error::posix_error(const std::string& msg,
- int errno_code,
- const char *file_name,
- const char *function_name,
- unsigned int line_number) :
- std::system_error(errno_code,
- std::generic_category(),
- msg + " " + format_throw_location(file_name, function_name, line_number))
+lttng::allocation_failure::allocation_failure(const std::string& msg,
+ std::size_t allocation_size_,
+ const lttng::source_location& location) :
+ lttng::runtime_error(msg, location), allocation_size(allocation_size_)