mongo::SocketException Class Reference

#include <message.h>

Inheritance diagram for mongo::SocketException:
Inheritance graph
[legend]

List of all members.

Public Types

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

Public Member Functions

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

Public Attributes

enum mongo::SocketException::Type _type

Private Attributes

string _extra
string _server

Detailed Description

Definition at line 453 of file message.h.


Member Enumeration Documentation

Enumerator:
CLOSED 
RECV_ERROR 
SEND_ERROR 
RECV_TIMEOUT 
SEND_TIMEOUT 
FAILED_STATE 
CONNECT_ERROR 

Definition at line 455 of file message.h.


Constructor & Destructor Documentation

mongo::SocketException::SocketException ( Type  t,
string  server = "",
int  code = 9001,
string  extra = "" 
) [inline]

Definition at line 457 of file message.h.

virtual mongo::SocketException::~SocketException (  )  throw () [inline, virtual]

Definition at line 458 of file message.h.


Member Function Documentation

bool mongo::SocketException::shouldPrint (  )  const [inline]

Definition at line 460 of file message.h.

virtual string mongo::SocketException::toString (  )  const [virtual]

Reimplemented from mongo::DBException.


Member Data Documentation

Definition at line 465 of file message.h.

Definition at line 464 of file message.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:58 2013