ERUCES::TEAgentException
#include <teagent.h>
The TEAgentException class is the error handling class for TEAgent functions.
The TEAgentException class represents the error handling class for TEAgent functions.
This class is derived from the TEException class.
Inheritance
- Inherits ERUCES::TEException
Public Member Functions
| Member | Description |
|---|---|
TEAgentException(uint32_t svrErrCode=0) | The TEAgentException constructor is the default class constructor. |
TEAgentException(const _TESTD string &strError, uint32_t code, uint32_t svrErrCode=0) | The TEAgentException constructor constructs an exception with error string. |
TEAgentException(const TEException &ex) | The TEAgentException constructor copies a TEAgentException object. |
TEAgentException(const _TESTD string &strError, const TEException &ex) | The TEAgentException constructor constructs an exception with an error string and exception object. |
~TEAgentException() | The TEAgentException destructor is the class destructor. |
Member Function Documentation
TEAgentException(uint32_t svrErrCode=0)
The TEAgentException constructor is the default class constructor.
Parameters
| Parameter | Description |
|---|---|
svrErrCode | An integer representing the server error code. |
TEAgentException(const _TESTD string &strError, uint32_t code, uint32_t svrErrCode=0)
The TEAgentException constructor constructs an exception with error string.
Parameters
| Parameter | Description |
|---|---|
strError | A string representing the error. |
code | An integer representing the error code. |
svrErrCode | An integer representing the server error code. |
TEAgentException(const TEException &ex)
The TEAgentException constructor copies a TEAgentException object.
Parameters
| Parameter | Description |
|---|---|
ex | A TEException object to duplicate. |
TEAgentException(const _TESTD string &strError, const TEException &ex)
The TEAgentException constructor constructs an exception with an error string and exception object.
Parameters
| Parameter | Description |
|---|---|
strError | A string representing the error. |
ex | A TEException object to duplicate. |
~TEAgentException()
The TEAgentException destructor is the class destructor.