X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FException.hh;h=7e3118826977588ea9edf0849770fe98388c3a22;hb=ca3f7bcf0c35022a2b6dbd33fd6b1afba4e78222;hp=9bca7644b5d8f4298bd00599091bab1851ee7985;hpb=72cc548dfc3fa72d14d4d8c1a178f162165e933a;p=senf.git diff --git a/senf/Utils/Exception.hh b/senf/Utils/Exception.hh index 9bca764..7e31188 100644 --- a/senf/Utils/Exception.hh +++ b/senf/Utils/Exception.hh @@ -39,8 +39,6 @@ #include #include #include -#include "senfassert.hh" - //#include "Exception.mpp" //-///////////////////////////////////////////////////////////////////////////////////////////////// @@ -318,9 +316,7 @@ namespace senf { # define SENF_EXC_DEBUGINFO # endif -# define SENF_THROW_SYSTEM_EXCEPTION(desc) \ - SENF_STATIC_ASSERT( sizeof(desc) > 1, \ - EMPTY_DESCRIPTION_FOR_SYSTEM_EXCEPTION_NOT_ALLOWED); \ +# define SENF_THROW_SYSTEM_EXCEPTION(desc) \ throw senf::SystemException(desc SENF_EXC_DEBUGINFO) }