ADTF
cErrorChecker

Error checker implementation for easy use of the error handler elasto::IErrorHandling::IErrorHandler. More...

Public Member Functions

 cErrorChecker ()
 Default CTOR.
 
 cErrorChecker (const char *strErrorSource, const char *strErrorCategory, elasto::IErrorHandling::tAction eDefaultAction)
 CTOR which creates a error handler for the given values. More...
 
void Create (const char *strErrorSource, const char *strErrorCategory, elasto::IErrorHandling::tAction eDefaultAction)
 Creates a error handler for the given values. More...
 
void Check (tResult oResult)
 Checks the result and handle sit at error handler. More...
 

Private Attributes

ucom::ant::object_ptr< elasto::IErrorHandling::IErrorHandlerm_pErrorHandler
 

Detailed Description

Error checker implementation for easy use of the error handler elasto::IErrorHandling::IErrorHandler.

Definition at line 157 of file error_handling_intf.h.

Constructor & Destructor Documentation

◆ cErrorChecker()

cErrorChecker ( const char *  strErrorSource,
const char *  strErrorCategory,
elasto::IErrorHandling::tAction  eDefaultAction 
)
inline

CTOR which creates a error handler for the given values.

Parameters
strErrorSource
strErrorCategory
eDefaultAction

Definition at line 172 of file error_handling_intf.h.

Member Function Documentation

◆ Check()

void Check ( tResult  oResult)
inline

Checks the result and handle sit at error handler.

Parameters
oResultthe result to check

Definition at line 198 of file error_handling_intf.h.

References IS_FAILED.

◆ Create()

void Create ( const char *  strErrorSource,
const char *  strErrorCategory,
elasto::IErrorHandling::tAction  eDefaultAction 
)
inline

Creates a error handler for the given values.

Parameters
strErrorSource
strErrorCategory
eDefaultAction

Definition at line 185 of file error_handling_intf.h.

References adtf::base::elasto::create_error_handler().