RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOPToSoapDomConvert.MakeFault Method

Encodes an exception that was raised when trying to execute a method on an invokable interface.

Pascal
procedure MakeFault(const Ex: Exception; EStream: TStream); virtual;
C++
virtual __fastcall MakeFault(const Exception Ex, TStream EStream);

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. 

 

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