Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTException Methods

Constructor / Destructor

  • CTException(): Creates a CTException object, and retrieves the error code only.
  • ~CTException(): Destroys a CTException Object and resets all the dependent objects

Error Handling

  • GetErrorCode(): Returns the last error code
  • GetErrorMsg(): Returns the last error message
  • GetSourceFile(): Returns the C++ source file that generated the error
  • GetLineNbr(): Returns the line number of the C++ source file that generated the error.

In This Section

CTException::CTException

CTException::~CTException

CTException::GetErrorCode

CTException::GetErrorMsg

CTException::GetLineNumber

CTException::GetSourceFile

TOCIndex