DAVID4 SDK  1.8.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
david::ConnectionException Class Reference

Exception thrown in case of connection errors. More...

#include <Exceptions.h>

Inheritance diagram for david::ConnectionException:
david::Exception david::ProtocolException

Public Member Functions

 ConnectionException (int errorCode, const std::string &errorText, const std::string &errorSource)
 Constructor. More...
 
- Public Member Functions inherited from david::Exception
 Exception (int errorCode, const std::string &errorText, const std::string &errorSource)
 Constructor. More...
 
virtual ~Exception () throw ()
 Destructor.
 
int GetErrorCode () const
 Returns the error code. More...
 
std::string GetErrorText () const
 Returns a description for the error. More...
 
std::string GetErrorSource () const
 Returns information about the error source. More...
 
void PrintError ()
 Prints error information to error stream.
 

Detailed Description

Exception thrown in case of connection errors.

Associated error codes: All below david::CONNECTION_ERRORS.

Definition at line 63 of file Exceptions.h.

Constructor & Destructor Documentation

david::ConnectionException::ConnectionException ( int  errorCode,
const std::string &  errorText,
const std::string &  errorSource 
)

Constructor.

Parameters
[in]errorCodeError code.
[in]errorTextTextual description of the error.
[in]errorSourceSource of the error.

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