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

Public Member Functions

 connection_error (const string &what="", const exception &other=NO_EXCEPTION)
 
 ~connection_error () throw ()
 
exceptionclone () const
 
const char * name () const throw ()
 
- Public Member Functions inherited from socket_exception
 socket_exception (const string &what="", const exception &other=NO_EXCEPTION)
 
 ~socket_exception () 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

Error while connecting to the server: this may be a DNS resolution error or a connection error (for example, time-out while connecting).

Constructor & Destructor Documentation

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

Referenced by connection_error::clone().

~connection_error ( )
throw (
)

Member Function Documentation

exception * clone ( ) const
virtual

Clone this object.

Returns
a new copy of this object

Reimplemented from socket_exception.

References connection_error::connection_error().

const char * name ( ) const
throw (
)
virtual

Return a name identifying the exception.

Returns
exception name

Reimplemented from socket_exception.


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