TCPException Class
The TCPException is an exception thrown by TCPConnection class in case an error happens during TCP connection handling or data transferring. More...
Header: | #include <OSAPI/Network/TCPConnection.h> |
Inherits: | CDPException |
Public Functions
TCPException(const char *message = "", int errorCode = 0) | |
TCPException(const char *formatString, const char *param1) | |
TCPException(const char *formatString, const char *param1, const char *param2) | |
TCPException(const char *formatString, const char *param1, const char *param2, const char *param3) | |
TCPException(const TCPException &original) | |
int | GetErrorCode() |
void | SetErrorCode(int errorCode) |
- 2 public functions inherited from CDPException
Detailed Description
The TCPException is an exception thrown by TCPConnection class in case an error happens during TCP connection handling or data transferring.
Member Function Documentation
TCPException::TCPException(const char *message = "", int errorCode = 0)
Constructs exception from error message and errorCode.
TCPException::TCPException(const char *formatString, const char *param1)
Constructs exception from formatString
TCPException::TCPException(const char *formatString, const char *param1, const char *param2)
Constructs exception from formatString
TCPException::TCPException(const char *formatString, const char *param1, const char *param2, const char *param3)
Constructs exception from formatString
TCPException::TCPException(const TCPException &original)
Copy constructor
int TCPException::GetErrorCode()
Gets error code
void TCPException::SetErrorCode(int errorCode)
Sets error code
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.