RAD Studio
ContentsIndex
PreviousUpNext
__throwFileName

Header File 

except.h 

Syntax 

extern char * _RTLENTRY __ThrowFileName(); 

#define __throwFileName __ThrowFileName() 

Description 

Use this global variable to get the name of a thrown exception. The output for this variable is a printable character string. 

To get the file name for a thrown exception with __throwFileName, you must compile the module with the -xp compiler option.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!