X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FException.hh;h=b151b883d54c15e760501d69e3a613fa63b56f9e;hb=28489b2b034740ce21bcce6f38b8fa1701948b03;hp=7abf26cbbc5b0644fd25829c2f63c44d1cf9221f;hpb=be33ff96c5b89738694da272d8610564cce48bfb;p=senf.git
diff --git a/Utils/Exception.hh b/Utils/Exception.hh
index 7abf26c..b151b88 100644
--- a/Utils/Exception.hh
+++ b/Utils/Exception.hh
@@ -96,9 +96,9 @@
SENF_WRAP_EXC(std::bad_cast)
SENF_WRAP_EXC(somelib::FooException)
}
- \endcode The re-thrown exception can then be caught as std::bad_cast or as
- senf::ExceptionMixin as needed. It is safe, to wrap an exception twice (the macro will detect
- this case).
+ \endcode
+ The re-thrown exception can then be caught as std::bad_cast or as senf::ExceptionMixin
+ as needed. It is safe, to wrap an exception twice (the macro will detect this case).
\code
bar() {
try {
@@ -308,7 +308,7 @@ namespace senf {
# define SENF_EXC_DEBUGINFO
# endif
-# define SENF_THROW_SYSTEM_EXCEPTION(desc) throw SystemException(desc SENF_EXC_DEBUGINFO)
+# define SENF_THROW_SYSTEM_EXCEPTION(desc) throw senf::SystemException(desc SENF_EXC_DEBUGINFO)
}