HydraExpress 4.6 |
HydraExpress C++ API Reference Guide |
|
Extends rwsf::Fault to represent a SOAP server fault. More...
#include <rwsf/webservice/Fault.h>
Public Member Functions | |
ServerFault (const std::string &msg) |
An instance of class rwsf::ServerFault extends rwsf::Fault to represent a SOAP server fault.
A SOAP server fault is used to indicate an error caused by a problem with the server, rather than a problem caused by bad data from the client. An example might be a failure to access requested data. By default, RWSF server sample implementations throw an rwsf::ServerFault indicating that the implementation has not yet been written, as follows:
throw rwsf::ServerFault("Sorry: The service was invoked but the requested " "operation \"getSummary\" has not been implemented. An implementation " "must be written.");
For more information on faults, see the Web Service Development Guide.
rwsf::ServerFault::ServerFault | ( | const std::string & | msg | ) |
Creates an instance of a server fault containing the error text msg. The SOAP message is then passed to the constructor of rwsf::Fault.
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.