ADTF  3.18.2
cDDLError

Static DDL Error Handling class. More...

Public Member Functions

 cDDLError ()
 CTOR.
 
 ~cDDLError ()
 CTOR.
 

Static Public Member Functions

static tResult GetLastDDLErrorCode ()
 Gets the last DDL Error Code occured. More...
 
static const char * GetLastDDLErrorDescription ()
 Gets the last DDL Error description occured. More...
 
static tResult SetLastDDLError (tResult nResult, const A_UTILS_NS::cString &strError)
 Sets the last DDL Error and error description. More...
 

Private Attributes

A_UTILS_NS::cString m_strLastErrorDescription
 
tResult m_nLastErrorCode
 

Detailed Description

Static DDL Error Handling class.

The parser will use this static Error handling to inform about validation errors.

Definition at line 17 of file ddl_error.h.

Member Function Documentation

◆ GetLastDDLErrorCode()

static tResult GetLastDDLErrorCode ( )
static

Gets the last DDL Error Code occured.

Returns
the DDL Error.

◆ GetLastDDLErrorDescription()

static const char* GetLastDDLErrorDescription ( )
static

Gets the last DDL Error description occured.

Returns
the last DDL Error description.
Remarks
not thread safe!

◆ SetLastDDLError()

static tResult SetLastDDLError ( tResult  nResult,
const A_UTILS_NS::cString strError 
)
static

Sets the last DDL Error and error description.

Returns
the last DDL Error description.
Remarks
not thread safe!