Utils: Implement more flexible SystemException
[senf.git] / Scheduler / ReadHelper.cti
index 92d1264..88fadbb 100644 (file)
@@ -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///////////////////////////////////////