7 #ifndef _DDLERROR_H_INCLUDED_
8 #define _DDLERROR_H_INCLUDED_
51 #define RETURN_DDLERROR_DESC(__errCode__, __desc__) { adtf_ddl::cDDLError::SetLastDDLError(__errCode__, __desc__); return DETAILED_RESULT(__errCode__, __desc__); }
56 #define RETURN_DDLERROR_IF_FAILED(__callterm__) { tResult ntmpRes = __callterm__; if (IS_FAILED(ntmpRes)) { RETURN_DDLERROR_DESC(ntmpRes, ""); } }
62 #define RETURN_DDLERROR_IF_FAILED_DESC(__callterm__, __desc__) { tResult ntmpRes = __callterm__; if (IS_FAILED(ntmpRes)) { RETURN_DDLERROR_DESC(ntmpRes, __desc__); } }
A common result class usable as return value throughout.
Static DDL Error Handling class.
static tResult SetLastDDLError(tResult nResult, const A_UTILS_NS::cString &strError)
Sets the last DDL Error and error description.
static tResult GetLastDDLErrorCode()
Gets the last DDL Error Code occured.
static const char * GetLastDDLErrorDescription()
Gets the last DDL Error description occured.
Namespace for the mainpage_pkg_ddl.