Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTException::GetSourceFile

Syntax

pTEXT GetSourceFile( ) const

Parameters

This method has no parameters.

Description

Returns the CTString object with the C++ source file (including path) that generated the last error. If the source file is not available, GetSourceFile() returns an empty string.

Return

GetSourceFile() returns the source file where the last error happened.

See also

GetErrorCode(), GetErrorMsg(), GetLineNbr()

TOCIndex