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

[more] SocketException(const SocketException& e) throw()
Copy constructor
[more] SocketException(int err) throw()
Constructs the exception from an error code
[more]virtual int getError()
Provides access to the numerical error code
[more]SocketException& operator =(const SocketException& e) throw()
Copy operator
[more]const char* what()
Provides the error message from the exception
[more]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: Get SAFMQ: Store and Forward Message Queue at SourceForge.net. Fast, secure and Free Open Source software downloads