DAVID4 SDK
1.8.7
|
Special connection exception that indicates a problem with the communication protocol. More...
#include <Exceptions.h>
Public Member Functions | |
ProtocolException (int errorCode, const std::string &errorText, const std::string &errorSource) | |
Constructor. More... | |
![]() | |
ConnectionException (int errorCode, const std::string &errorText, const std::string &errorSource) | |
Constructor. More... | |
![]() | |
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. | |
Special connection exception that indicates a problem with the communication protocol.
Incompatible implementations or wrong/incomplete implementation is likely. Associated error codes: All below david::PROTOCOL_ERRORS.
Definition at line 81 of file Exceptions.h.
david::ProtocolException::ProtocolException | ( | int | errorCode, |
const std::string & | errorText, | ||
const std::string & | errorSource | ||
) |
Constructor.
[in] | errorCode | Error code. |
[in] | errorText | Textual description of the error. |
[in] | errorSource | Source of the error. |