RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ESOAPHTTPException.Create Constructor

Instantiates an instance of an ESOAPHTTPException with a simple message string.

Pascal
constructor Create(const Msg: string; SCode: Integer = 0; Dummy: Integer = 0);
C++
__fastcall ESOAPHTTPException(const AnsiString Msg, int SCode = 0, int Dummy = 0);

Call Create to construct an ESOAPHTTPException object with a simple message string.  

Msg is the string containing the runtime error message to display in the exception dialog box. Msg can be a hard-coded string, or can be a function call that returns a string.  

SCode is the HTTP status code, if any, that triggered this exception. It becomes the value of the StatusCode property. 

 

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