29 #ifndef Pt_Soap_Fault_h
30 #define Pt_Soap_Fault_h
32 #include <Pt/Soap/Api.h>
33 #include <Pt/Remoting/Fault.h>
34 #include <Pt/SerializationInfo.h>
53 UnsupportedEncoding = -32701,
54 InvalidCharacterForEncoding = -32702,
55 InvalidXmlRpc = -32600,
56 MethodNotFound = -32601,
57 InvalidMethodParameters = -32602,
58 InternalXmlRpcError = -32603,
59 ApplicationError = -32500,
61 TransportError = -32300
66 Fault(
const std::string& msg,
int rc);
70 Fault(
const char* msg,
int rc);
95 fault = Fault(msg, rc);
XML-RPC fault exception.
Definition: Fault.h:43
int rc() const
Returns the error code.
Definition: Fault.h:79
~Fault()
Destructor.
Definition: Fault.h:74
SerializationInfo & addMember(const std::string &name)
Add a struct member.
Definition: SerializationInfo.h:449
Remoting fault exception.
Definition: Fault.h:42
int_type int32_t
Signed 32-bit integer type.
Definition: Types.h:36
void getString(std::string &s, const TextCodec< Pt::Char, char > &codec) const
Get value as a string.
void setString(const char *s)
Set to string value.
ErrorCodes
XML-RPC fault error codes.
Definition: Fault.h:50
const SerializationInfo & getMember(const std::string &name) const
Get a struct member.
Definition: SerializationInfo.h:492
Represents arbitrary types during serialization.
Definition: SerializationInfo.h:58