7 #ifndef DAVID_SDK_EXCEPTIONS_H
8 #define DAVID_SDK_EXCEPTIONS_H
10 #include "davidSDK/ErrorCodes.h"
30 Exception(
int errorCode,
const std::string& errorText,
const std::string& errorSource);
52 std::string m_errorText;
53 std::string m_errorSource;
70 ConnectionException(
int errorCode,
const std::string& errorText,
const std::string& errorSource);
88 ProtocolException(
int errorCode,
const std::string& errorText,
const std::string& errorSource);
106 FunctionException(
int errorCode,
const std::string& errorText,
const std::string& errorSource);
166 std::string m_source;
167 std::string m_context;
174 #endif // DAVID_SDK_EXCEPTIONS_H