Soap.OPToSOAPDomConv.TOPToSoapDomConvert.MakeFault
Delphi
procedure MakeFault(const Ex: Exception; EStream: TStream); virtual;
C++
virtual void __fastcall MakeFault(System::Sysutils::Exception* const Ex, System::Classes::TStream* EStream);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Soap.OPToSOAPDomConv.pas Soap.OPToSOAPDomConv.hpp |
Soap.OPToSOAPDomConv | TOPToSoapDomConvert |
Description
Encodes an exception that was raised when trying to execute a method on an invokable interface.
MakeFault encodes an exception that a Web Service application catches when trying to execute a method on an invokable interface. It generates an encoded exception packet, which the client can decode and use to raise the exception on the client application.
Ex is the exception object that represents the exception that occurred.
EStream is a stream to which MakeFault writes the encoded exception packet.