CFx SDK Documentation  2020SP3
Public Member Functions | Protected Member Functions | List of all members
TxError Class Reference

#include <DrxError.h>

Inheritance diagram for TxError:
OdError

Public Member Functions

 TxError (const OdString &sAppName, int nCode, const OdString &desc=OdString::kEmpty)
 
OdString txAppName () const
 
int txAppCode () const
 
- Public Member Functions inherited from OdError
void setContext (OdErrorContext *pErrorContext)
 
const OdErrorContextcontext () const
 
OdErrorContextcontext ()
 
 OdError (OdResult code)
 
 OdError (const OdError &source)
 
 OdError (OdErrorContext *pErrorContext)
 
 OdError (const OdString &errorMessage)
 
 OdError (const OdString &errorMessage, const OdError &previousError)
 
 ~OdError ()
 
OdErroroperator= (const OdError &source)
 
OdResult code () const
 
OdString description () const
 
void attachPreviousError (const OdError &previousError)
 
 FX_DECLARE_CLANG_RTTI_EXCEPTION_WORKAROUND ()
 

Protected Member Functions

 TxError (OdErrorContext *pCtx)
 

Detailed Description

This class implements TX-specific OdError objects.

Remarks
TX applications can have their own set of error numbers that are labeled with the Application Name. This means that error codes from different applications can be recognized even if they have the same value.

<group Other_Classes>

Definition at line 92 of file DrxError.h.

Constructor & Destructor Documentation

◆ TxError() [1/2]

TxError::TxError ( OdErrorContext pCtx)
inlineprotected

Definition at line 95 of file DrxError.h.

◆ TxError() [2/2]

TxError::TxError ( const OdString sAppName,
int  nCode,
const OdString desc = OdString::kEmpty 
)
inline
Parameters
sAppName[in] Application name
nCode[in] Application-specific error code

Definition at line 101 of file DrxError.h.

Member Function Documentation

◆ txAppCode()

int TxError::txAppCode ( ) const
inline

Definition at line 111 of file DrxError.h.

◆ txAppName()

OdString TxError::txAppName ( ) const
inline

Definition at line 106 of file DrxError.h.


The documentation for this class was generated from the following file: