X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FException.cci;h=d97c9ab3bfef2944b0f43986462096a9f30ef737;hb=93d9568d448749dc187e7622b733a4a3caa319df;hp=6f7e13dc08ebf1c27bc44766b761d05d44393d30;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Exception.cci b/senf/Utils/Exception.cci index 6f7e13d..d97c9ab 100644 --- a/senf/Utils/Exception.cci +++ b/senf/Utils/Exception.cci @@ -25,9 +25,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ExceptionMixin prefix_ senf::ExceptionMixin::ExceptionMixin(std::string const & description) @@ -63,14 +63,14 @@ prefix_ void senf::ExceptionMixin::append(std::string text) what_ += text; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Exception prefix_ senf::Exception::Exception(std::string const & description) : ExceptionMixin(description) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::SystemException prefix_ senf::SystemException::SystemException(std::string const & descr _SENF_EXC_DEBUG_ARGS_ND) @@ -83,7 +83,7 @@ prefix_ senf::SystemException::SystemException(int code _SENF_EXC_DEBUG_ARGS_ND) init("", code _SENF_EXC_DEBUG_ARGS_P); } -prefix_ senf::SystemException::SystemException(std::string const & descr, int code +prefix_ senf::SystemException::SystemException(std::string const & descr, int code _SENF_EXC_DEBUG_ARGS_ND) { init(descr, code _SENF_EXC_DEBUG_ARGS_P); @@ -103,8 +103,9 @@ prefix_ char const * senf::SystemException::errorString() prefix_ bool senf::SystemException::anyOf(int c0, int c1, int c2, int c3, int c4, int c5, int c6, int c7, int c8, int c9) + const { - return + return (c0 && code_ == c0) || (c1 && code_ == c1) || (c2 && code_ == c2) || @@ -121,7 +122,7 @@ prefix_ senf::SystemException::~SystemException() throw() {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_