Fastcgipp::Exceptions::RecordOutOfOrder Class Reference

Exception for reception of records out of order More...

#include <exceptions.hpp>

Inheritance diagram for Fastcgipp::Exceptions::RecordOutOfOrder:

Fastcgipp::Exceptions::Request Fastcgipp::Exceptions::Exception

List of all members.

Public Member Functions

 RecordOutOfOrder (Protocol::FullId id_, Protocol::RecordType expectedRecord_, Protocol::RecordType recievedRecord_)
 Sole Constructor.
 ~RecordOutOfOrder () throw ()
virtual const char * what () const throw ()
Protocol::RecordType getExpectedRecord () const throw ()
Protocol::RecordType getRecievedRecord () const throw ()

Private Attributes

Protocol::RecordType expectedRecord
 Type of record that was expected.
Protocol::RecordType recievedRecord
 Type of record that was recieved.
std::string msg
 Error message associated with the exception.


Detailed Description

Exception for reception of records out of order

Definition at line 95 of file exceptions.hpp.


Constructor & Destructor Documentation

Fastcgipp::Exceptions::RecordOutOfOrder::RecordOutOfOrder ( Protocol::FullId  id_,
Protocol::RecordType  expectedRecord_,
Protocol::RecordType  recievedRecord_ 
)

Sole Constructor.

Parameters:
[in] id_ ID value for the request that generated the exception
[in] expectedRecord_ Type of record that was expected
[in] recievedRecord_ Type of record that was recieved

Definition at line 39 of file exceptions.cpp.

References expectedRecord, msg, recievedRecord, and Fastcgipp::Protocol::recordTypeLabels.

Fastcgipp::Exceptions::RecordOutOfOrder::~RecordOutOfOrder (  )  throw () [inline]

Definition at line 105 of file exceptions.hpp.


Member Function Documentation

Protocol::RecordType Fastcgipp::Exceptions::RecordOutOfOrder::getExpectedRecord (  )  const throw () [inline]

Definition at line 107 of file exceptions.hpp.

References expectedRecord.

Protocol::RecordType Fastcgipp::Exceptions::RecordOutOfOrder::getRecievedRecord (  )  const throw () [inline]

Definition at line 108 of file exceptions.hpp.

References recievedRecord.

virtual const char* Fastcgipp::Exceptions::RecordOutOfOrder::what (  )  const throw () [inline, virtual]

Implements Fastcgipp::Exceptions::Request.

Definition at line 106 of file exceptions.hpp.

References msg.


Member Data Documentation

Type of record that was expected.

Definition at line 111 of file exceptions.hpp.

Referenced by getExpectedRecord(), and RecordOutOfOrder().

Error message associated with the exception.

Definition at line 115 of file exceptions.hpp.

Referenced by RecordOutOfOrder(), and what().

Type of record that was recieved.

Definition at line 113 of file exceptions.hpp.

Referenced by getRecievedRecord(), and RecordOutOfOrder().


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

Generated on Thu Dec 11 01:47:29 2008 for fastcgi++ by  doxygen 1.5.7.1