osg::SocketError Class Reference
[Network]

Execption caused by socket error return codes.

#include <OSGSocketException.h>

Inheritance diagram for osg::SocketError:

osg::SocketException osg::Exception osg::SocketConnReset osg::SocketInUse

List of all members.

Public Member Functions

Constructors


 SocketError (const char *function)
Info


virtual const Char8what (void) const OSG_THROW_NOTHING()

Protected Types

typedef
OSG_STDEXCEPTION_NAMESPACE::exception 
Inherited

Protected Attributes

Class Specific


std::string _what


Detailed Description

Definition at line 70 of file OSGSocketException.h.


Member Typedef Documentation

typedef OSG_STDEXCEPTION_NAMESPACE::exception osg::Exception::Inherited [protected, inherited]

Definition at line 101 of file OSGException.h.


Constructor & Destructor Documentation

SocketError::SocketError ( const char *  function  ) 

Constructor

Definition at line 69 of file OSGSocketException.cpp.

References osg::Exception::_what, osg::Socket::getError(), and osg::Socket::getErrorStr().

00069                                             :SocketException()
00070 {
00071     char estr[6];
00072     
00073     sprintf(estr,"%5d",Socket::getError());
00074     _what=_what + function + " " + estr + " " + Socket::getErrorStr();
00075 }


Member Function Documentation

const Char8 * Exception::what ( void   )  const [virtual, inherited]


Member Data Documentation

std::string osg::Exception::_what [protected, inherited]


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

Generated on Mon Mar 17 11:11:09 2008 for OpenSG by  doxygen 1.5.5