class tcpsocket::SocketException
An exception thrown incase of an error occuring in a class derived
from tcpsocket::Socket
Child Classes
An exception thrown incase of an error occuring in a class derived
from tcpsocket::Socket
- Direct child classes:
- SSLSocketException
Inheritance:
Public Methods
-
SocketException(const SocketException& e) throw()
-
Copy constructor
-
SocketException(int err) throw()
-
Constructs the exception from an error code
-
virtual int getError()
-
Provides access to the numerical error code
-
SocketException& operator =(const SocketException& e) throw()
-
Copy operator
-
const char* what()
-
Provides the error message from the exception
-
virtual ~SocketException() throw()
-
Destroys the exception
Member Documentation
SocketException (int err) throw()-
Constructs the exception from an error code
- Parameters:
- err - [in] The error code
SocketException (const SocketException& e) throw()-
Copy constructor
- Parameters:
- e - [in] The source exception.
SocketException& operator = (const SocketException& e) throw()-
Copy operator
- Parameters:
- e - [in] The source exception.
- Returns:
- a reference to this object
virtual ~SocketException () throw()-
Destroys the exception
virtual int getError ()-
Provides access to the numerical error code
const char* what ()-
Provides the error message from the exception
- Returns:
- A string depicting the error.
Table of Contents HTML hierarchy of classes or Java
Safmq Documentation, copyright (c) 2004-2010 Matthew J. Battey, Licensed Under Apache License Ver 2.0
Powered By: