IBR-DTNSuite  0.10
ibrcommon::socket_raw_error Class Reference

#include <socket.h>

Inheritance diagram for ibrcommon::socket_raw_error:
Inheritance graph
Collaboration diagram for ibrcommon::socket_raw_error:
Collaboration graph

Public Member Functions

 socket_raw_error (int error, string description)
 
 socket_raw_error (int error)
 
virtual ~socket_raw_error () throw ()
 
virtual const char * what () const throw ()
 
int error () const
 
- Public Member Functions inherited from ibrcommon::socket_exception
 socket_exception ()
 
 socket_exception (string error)
 
- Public Member Functions inherited from ibrcommon::Exception
 Exception () throw ()
 
 Exception (const exception &) throw ()
 
virtual ~Exception () throw ()
 
 Exception (string what) throw ()
 

Additional Inherited Members

- Protected Attributes inherited from ibrcommon::Exception
string _what
 

Detailed Description

Definition at line 67 of file socket.h.

Constructor & Destructor Documentation

ibrcommon::socket_raw_error::socket_raw_error ( int  error,
string  description 
)
inline

Definition at line 70 of file socket.h.

References ibrcommon::Exception::what().

Here is the call graph for this function:

ibrcommon::socket_raw_error::socket_raw_error ( int  error)
inline

Definition at line 77 of file socket.h.

virtual ibrcommon::socket_raw_error::~socket_raw_error ( ) throw ()
inlinevirtual

Definition at line 84 of file socket.h.

Member Function Documentation

int ibrcommon::socket_raw_error::error ( ) const
inline

Definition at line 92 of file socket.h.

Referenced by dtn::net::UDPDatagramService::bind().

virtual const char* ibrcommon::socket_raw_error::what ( ) const throw ()
inlinevirtual

Get the explaining reason as string value.

Returns
The reason as string value.

Reimplemented from ibrcommon::Exception.

Definition at line 87 of file socket.h.

Referenced by dtn::net::UDPDatagramService::bind().


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