X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fexception.cpp;fp=src%2Fcommon%2Fexception.cpp;h=cc0011405a69f37e17711e485e43a050c537295f;hb=aeeb48c6a7dd4bcc092b3105439489fc393f6425;hp=16e27e52afa35ebd4e144363772c839602995e78;hpb=3130a40c184a9315f0a4ca9a235273277fdcabde;p=lttng-tools.git diff --git a/src/common/exception.cpp b/src/common/exception.cpp index 16e27e52a..cc0011405 100644 --- a/src/common/exception.cpp +++ b/src/common/exception.cpp @@ -41,3 +41,11 @@ lttng::posix_error::posix_error(const std::string &msg, msg + " " + format_throw_location(file_name, function_name, line_number)) { } + +lttng::runtime_error::runtime_error(const std::string &msg, + const char *file_name, + const char *function_name, + unsigned int line_number) : + std::runtime_error(msg + " " + format_throw_location(file_name, function_name, line_number)) +{ +}