VMime
socket_not_connected_exception Class Reference

#include <exception.hpp>

Inheritance diagram for socket_not_connected_exception:
Collaboration diagram for socket_not_connected_exception:

Public Member Functions

 socket_not_connected_exception (const string &what="", const exception &other=NO_EXCEPTION)
 ~socket_not_connected_exception () throw ()
exception * clone () 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 exception * other () const throw ()

Additional Inherited Members

Static Protected Attributes inherited from exception
static const exception NO_EXCEPTION

Detailed Description

Socket not connected: you are trying to write to/read from a socket which is not connected to a peer.

Constructor & Destructor Documentation

◆ socket_not_connected_exception()

socket_not_connected_exception ( const string & what = "",
const exception & other = NO_EXCEPTION )

◆ ~socket_not_connected_exception()

Member Function Documentation

◆ clone()

exception * clone ( ) const
virtual

Clone this object.

Returns
a new copy of this object

Reimplemented from socket_exception.

References socket_not_connected_exception().

◆ name()

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: