Utils: Removed ErrnoException and implemented generic Exception base-class
[senf.git] / Socket / FileHandle.test.cc
index e73f047..6835f15 100644 (file)
@@ -51,7 +51,7 @@ namespace {
             {
                 int rv = ::open(name.c_str(),O_RDWR|O_NONBLOCK) ;
                 if (rv<0)
-                    senf::throwErrno();
+                    throw senf::SystemException();
                 fd(rv);
             }
     };