VMime
socket_exception Class Reference
Inheritance diagram for socket_exception:
Collaboration diagram for socket_exception:

Public Member Functions

 socket_exception (const string &what="", const exception &other=NO_EXCEPTION)
 
 ~socket_exception () throw ()
 
exceptionclone () const
 
const char * name () const throw ()
 
- Public Member Functions inherited from net_exception
 net_exception (const string &what, const exception &other=NO_EXCEPTION)
 
 ~net_exception () throw ()
 
- Public Member Functions inherited from exception
 exception (const string &what, const exception &other=NO_EXCEPTION)
 
 exception (const exception &e)
 
virtual ~exception () throw ()
 
void chainException (const exception &other)
 
const exceptionother () const throw ()
 

Detailed Description

Socket error.

Constructor & Destructor Documentation

socket_exception ( const string what = "",
const exception other = NO_EXCEPTION 
)

Referenced by socket_exception::clone().

~socket_exception ( )
throw (
)

Member Function Documentation

exception * clone ( ) const
virtual

Clone this object.

Returns
a new copy of this object

Reimplemented from net_exception.

Reimplemented in connection_error, and socket_not_connected_exception.

References socket_exception::socket_exception().

const char * name ( ) const
throw (
)
virtual

Return a name identifying the exception.

Returns
exception name

Reimplemented from net_exception.

Reimplemented in connection_error, and socket_not_connected_exception.


The documentation for this class was generated from the following files: