RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.ExceptionErrorMessage Function

Formats a standard error message.

Pascal
function ExceptionErrorMessage(ExceptObject: TObject; ExceptAddr: Pointer; Buffer: PChar; Size: Integer): Integer;
C++
int ExceptionErrorMessage(TObject * ExceptObject, void * ExceptAddr, const char * Buffer, int Size);

SysUtils

Call ExceptionErrorMessage to assemble an error message that indicates the object associated with the current exception and the location at which the exception was raised. The assembled message is written into the buffer provided by the Buffer parameter. Specify the size of this buffer using the Size parameter. 

ExceptionErrorMessage returns the number of bytes in the assembled error message. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!