1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/include/ulib/xml/soap/soap_fault.h
stefanocasazza b5184ba45e sync
2018-07-27 18:11:02 +02:00

51 lines
914 B
C++

// ============================================================================
//
// = LIBRARY
// ULib - c++ library
//
// = FILENAME
// soap_fault.h
//
// = AUTHOR
// Stefano Casazza
//
// ============================================================================
#ifndef ULIB_SOAP_FAULT_H
#define ULIB_SOAP_FAULT_H 1
#include <ulib/net/rpc/rpc_fault.h>
/**
* @class USOAPFault
*/
class U_EXPORT USOAPFault : public URPCFault {
public:
USOAPFault()
{
U_TRACE_CTOR(0, USOAPFault, "")
}
virtual ~USOAPFault()
{
U_TRACE_DTOR(0, USOAPFault)
}
// Encodes the complete fault into a string
virtual void encode(UString& response) U_DECL_OVERRIDE;
// DEBUG
#if defined(U_STDCPP_ENABLE) && defined(DEBUG)
const char* dump(bool reset) const { return URPCFault::dump(reset); }
#endif
private:
U_DISALLOW_COPY_AND_ASSIGN(USOAPFault)
};
#endif