X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnet%2Fwindows%2Funix.cpp;fp=source%2Fnet%2Fwindows%2Funix.cpp;h=052710e8363eaa932962c82ab7ee22269aeebbb0;hb=5afa6e0e07b20ef58d262d69d96971df9a4be71f;hp=2aa885708da84efb9c33afde5b4e5fa0639fdcb3;hpb=6df110603b3a1248f52741e9d68d0bd032171b60;p=libs%2Fnet.git diff --git a/source/net/windows/unix.cpp b/source/net/windows/unix.cpp index 2aa8857..052710e 100644 --- a/source/net/windows/unix.cpp +++ b/source/net/windows/unix.cpp @@ -1,4 +1,4 @@ -#include +#include #include "platform_api.h" #include "sockaddr_private.h" #include "unix.h" @@ -11,7 +11,7 @@ namespace Net { UnixAddr::UnixAddr(const SysAddr &): abstract(false) { - throw logic_error("AF_UNIX not supported"); + throw unsupported("AF_UNIX"); } UnixAddr::UnixAddr(const string &p, bool a): @@ -22,7 +22,7 @@ UnixAddr::UnixAddr(const string &p, bool a): SockAddr::SysAddr UnixAddr::to_sys() const { - throw logic_error("AF_UNIX not supported"); + throw unsupported("AF_UNIX"); } } // namespace Net