RAD Studio VCL Reference
SysUtils.ExceptionErrorMessage Function

Formats a standard error message.

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

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!