![]() |
![]() |
|
Index
Source Files
Annotated Class List
Alphabetical Class List
Class Hierarchy
Graphical Class Hierarchy
|
||
![]() |
![]() |
#include <Exceptions.h>
Inheritance diagram for FIX::SocketException:


Public Member Functions | |
| SocketException () | |
| SocketException (const std::string &what) | |
| std::string | errorToWhat () |
Public Attributes | |
| int | error |
Definition at line 234 of file Exceptions.h.
|
|
Definition at line 236 of file Exceptions.h. References errorToWhat().
00237 : Exception( "Socket Error", errorToWhat() ) {} |
|
|
Definition at line 239 of file Exceptions.h.
00240 : Exception( "Socket Error", what ) {} |
|
|
Definition at line 242 of file Exceptions.h. References error. Referenced by SocketException().
00243 {
00244 #ifdef _MSC_VER
00245 error = WSAGetLastError();
00246 char buffer[2048];
00247 FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM, NULL, error,
00248 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
00249 buffer, 2048, NULL );
00250 return buffer;
00251 #else
00252 error = errno;
00253 return strerror( error );
00254 #endif
00255 }
|
|
|
Definition at line 257 of file Exceptions.h. Referenced by errorToWhat(). |
1.3.6-20040222 written by Dimitri van Heesch,
© 1997-2001