Utils: Removed ErrnoException and implemented generic Exception base-class
[senf.git] / Socket / Protocols / UN / UNDatagramSocketHandle.cc
index 43ecc00..6b1c91d 100644 (file)
@@ -41,7 +41,7 @@ prefix_ void senf::UNDatagramSocketProtocol::init_client() const
 {
     int sock = ::socket(PF_UNIX,SOCK_DGRAM,0);
     if (sock < 0)
-        throwErrno();
+        throw SystemException();
     fd(sock);
 }