mongo::SocketException Class Reference

thrown by Socket and SockAddr More...

#include <sock.h>

Inheritance diagram for mongo::SocketException:
mongo::DBException

List of all members.

Public Types

enum  Type {
  CLOSED, RECV_ERROR, SEND_ERROR, RECV_TIMEOUT,
  SEND_TIMEOUT, FAILED_STATE, CONNECT_ERROR
}

Public Member Functions

 SocketException (Type t, string server, int code=9001, string extra="")
bool shouldPrint () const
virtual string toString () const

Public Attributes

enum mongo::SocketException::Type _type

Detailed Description

thrown by Socket and SockAddr


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 01:46:41 2011 for MongoDB by  doxygen 1.6.3