Soap.SOAPDm.TSoapDataModule.SafeCallException

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SafeCallException(ExceptObject: TObject;  ExceptAddr: Pointer): HResult; override;

C++

virtual HRESULT __fastcall SafeCallException(System::TObject* ExceptObject, void * ExceptAddr);

Properties

Type Visibility Source Unit Parent
function public
Soap.SOAPDm.pas
Soap.SOAPDm.hpp
Soap.SOAPDm TSoapDataModule

Description

Handles exceptions in methods declared using the safecall calling convention.

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.

See Also