RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapDataModule.SafeCallException Method

Handles exceptions in methods declared using the safecall calling convention.

Pascal
function SafeCallException(ExceptObject: TObject; ExceptAddr: Pointer): HResult; override;
C++
virtual __fastcall HRESULT SafeCallException(TObject * ExceptObject, void * ExceptAddr);

SafeCallException is used for handling exceptions that are raised by methods such as the AS... methods, which use the safecall calling convention. This method ensures that the SOAP fault packet includes all the necessary error information so that clients can respond appropriately to exceptions in safecall methods. 

ExceptObject is the exception that was raised. 

ExceptAddr is the address where the exception occurred. 

SafeCallException returns an error code that indicates what error occurred. 

 

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