Utils: Implement more flexible SystemException
[senf.git] / Scheduler / ReadHelper.cti
index 8fd8ae2..88fadbb 100644 (file)
@@ -24,7 +24,7 @@
 #include "ReadHelper.ih"
 
 // Custom includes
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
 
 #define prefix_ inline
 ///////////////////////////////cti.p///////////////////////////////////////
@@ -94,7 +94,7 @@ template <class Handle>
 prefix_ void senf::ReadHelper<Handle>::throw_error()
     const
 {
-    if (errno_ != 0) throw SystemException(errno_);
+    if (errno_ != 0) throwErrno(errno_);
 }
 
 ///////////////////////////////cti.e///////////////////////////////////////
@@ -108,4 +108,5 @@ prefix_ void senf::ReadHelper<Handle>::throw_error()
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End: