Skip to main content

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

Public Member Functions

MemberDescription
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

ParameterDescription
svrErrCodeAn 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

ParameterDescription
strErrorA string representing the error.
codeAn integer representing the error code.
svrErrCodeAn integer representing the server error code.

TEAgentException(const TEException &ex)

The TEAgentException constructor copies a TEAgentException object.

Parameters

ParameterDescription
exA 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

ParameterDescription
strErrorA string representing the error.
exA TEException object to duplicate.

~TEAgentException()

The TEAgentException destructor is the class destructor.