ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cErrorChecker

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

#include <error_handling_intf.h>

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.
 
void Create (const char *strErrorSource, const char *strErrorCategory, elasto::IErrorHandling::tAction eDefaultAction)
 Creates a error handler for the given values.
 
void Check (tResult oResult)
 Checks the result and handle sit at error handler.
 

Private Attributes

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

Detailed Description

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

Definition at line 157 of file error_handling_intf.h.

Constructor & Destructor Documentation

◆ cErrorChecker() [1/2]

cErrorChecker ( )
inline

Default CTOR.

Definition at line 163 of file error_handling_intf.h.

◆ cErrorChecker() [2/2]

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.

References adtf::base::create_error_handler().

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().

Member Data Documentation

◆ m_pErrorHandler

Definition at line 207 of file error_handling_intf.h.