diff options
author | Pixel <Pixel> | 2001-12-02 18:55:35 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-12-02 18:55:35 +0000 |
commit | e4075153def021c3405accb19ffcdc3247d98807 (patch) | |
tree | dc7085d969af2dd121f22619d6c453c4bd7a41a9 /lib/Socket.cc | |
parent | 37989e882eaa805662dd0e260eb293c939e082b7 (diff) |
Comments and so...
Diffstat (limited to 'lib/Socket.cc')
-rw-r--r-- | lib/Socket.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Socket.cc b/lib/Socket.cc index f35bb72..aada133 100644 --- a/lib/Socket.cc +++ b/lib/Socket.cc @@ -15,7 +15,7 @@ Socket::Socket() throw (GeneralException) : Handle(socket(AF_INET, SOCK_STREAM, 0)), connected(false), listening(false) { if (GetHandle() < 0) { - throw GeneralException("Error creating socket."); + throw GeneralException(_("Error creating socket.")); } } @@ -117,7 +117,7 @@ Socket Socket::Accept(void) throw (GeneralException) { int h; if ((h = accept(GetHandle(), &inaddr, &inlen)) < 0) { - throw GeneralException("Failed accepting."); + throw GeneralException(_("Failed accepting.")); } else { return Socket(h); } |