#include <OSGSocketException.h>

Public Member Functions | |
Constructors | |
| SocketHostError (const char *function) | |
Info | |
| virtual const Char8 * | what (void) const OSG_THROW_NOTHING() |
Protected Types | |
| typedef OSG_STDEXCEPTION_NAMESPACE::exception | Inherited |
Protected Attributes | |
Class Specific | |
| std::string | _what |
Definition at line 83 of file OSGSocketException.h.
typedef OSG_STDEXCEPTION_NAMESPACE::exception osg::Exception::Inherited [protected, inherited] |
Definition at line 101 of file OSGException.h.
| SocketHostError::SocketHostError | ( | const char * | function | ) |
Constructor
Definition at line 84 of file OSGSocketException.cpp.
References osg::Exception::_what, osg::Socket::getHostError(), and osg::Socket::getHostErrorStr().
00084 :SocketException() 00085 { 00086 char estr[6]; 00087 00088 sprintf(estr,"%5d",Socket::getHostError()); 00089 _what=_what + function + " " + estr + " " + Socket::getHostErrorStr(); 00090 }
| const Char8 * Exception::what | ( | void | ) | const [virtual, inherited] |
Definition at line 73 of file OSGException.cpp.
References osg::Exception::_what.
Referenced by osg::ClusterServer::acceptClient(), osg::GroupMCastConnection::checkChannels(), osg::operator<<(), osg::PointMCastConnection::recvQueueThread(), osg::PointSockPipeline::selectChannel(), osg::PointSockConnection::selectChannel(), osg::PointMCastConnection::selectChannel(), osg::GroupSockConnection::selectChannel(), osg::GroupMCastConnection::sendQueueThread(), osg::PointSockConnection::signal(), osg::GroupSockConnection::signal(), osg::PointSockConnection::wait(), osg::PointMCastConnection::wait(), osg::GroupSockConnection::wait(), osg::GroupSockPipeline::write(), and osg::GroupSockConnection::write().
00074 { 00075 return _what.c_str(); 00076 }
std::string osg::Exception::_what [protected, inherited] |
Definition at line 107 of file OSGException.h.
Referenced by osg::ClusterException::ClusterException(), osg::ConnectionClosed::ConnectionClosed(), osg::Exception::operator=(), osg::BinaryDataHandler::ReadError::ReadError(), osg::RemoteSyncError::RemoteSyncError(), osg::SocketError::SocketError(), osg::SocketException::SocketException(), SocketHostError(), osg::Exception::what(), and osg::BinaryDataHandler::WriteError::WriteError().
1.5.5