X-Git-Url: http://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fexception.hpp;fp=src%2Fcommon%2Fexception.hpp;h=1880978e76997c3ee9df65f556516fd5f16b9581;hp=e43094bb6e3a0baae83466295b4f41abba1d3047;hb=0729ea5558053d5a1a0d7aea51febf63ee1f3b3f;hpb=9cde3a4ab8b763df804f8105728d90f59521438b diff --git a/src/common/exception.hpp b/src/common/exception.hpp index e43094bb6..1880978e7 100644 --- a/src/common/exception.hpp +++ b/src/common/exception.hpp @@ -20,7 +20,7 @@ throw lttng::posix_error(msg, errno_code, __FILE__, __func__, __LINE__) #define LTTNG_THROW_ERROR(msg) throw lttng::runtime_error(msg, __FILE__, __func__, __LINE__) #define LTTNG_THROW_UNSUPPORTED_ERROR(msg) \ - throw lttng::runtime_error(msg, __FILE__, __func__, __LINE__) + throw lttng::unsupported_error(msg, __FILE__, __func__, __LINE__) #define LTTNG_THROW_COMMUNICATION_ERROR(msg) \ throw lttng::communication_error(msg, __FILE__, __func__, __LINE__) #define LTTNG_THROW_PROTOCOL_ERROR(msg) \