File Information
Library: RemotingNG/SOAP
Package: SOAP
Header: Poco/RemotingNG/SOAP/SOAPFaultException.h
Description
This exception class contains detailed information from a SOAPFault received from the server.
Inheritance
Direct Base Classes: Poco::RemotingNG::RemoteException
All Base Classes: Poco::Exception, Poco::LogicException, Poco::RemotingNG::RemoteException, Poco::RemotingNG::RemotingException, std::exception
Member Summary
Member Functions: className, clone, fault, faultCode, faultDetail, faultReason, name, namespaceURI, operator =, rethrow
Inherited Functions: className, clone, code, displayText, extendedMessage, message, name, nested, operator =, rethrow, what
Constructors
SOAPFaultException
SOAPFaultException(
const SOAPFaultException & exc
);
Creates a new SOAPFaultException from another one.
SOAPFaultException
SOAPFaultException(
const std::string & message,
const XMLElement & fault
);
Creates a SOAPFaultException with the given message and code.
Destructor
~SOAPFaultException
~SOAPFaultException() noexcept;
Destroy the exception.
Member Functions
className
const char * className() const noexcept;
Returns the name of the exception class.
clone
Poco::Exception * clone() const;
Creates an exact copy of the exception.
fault
const XMLElement & fault() const;
Returns the SOAP Fault element.
faultCode
std::string faultCode() const;
faultDetail
const XMLElement * faultDetail() const;
Returns a pointer to the "detail" (SOAP 1.1) or "Detail" (SOAP 1.2) element if it exists, otherwise nullptr.
faultReason
std::string faultReason() const;
name
const char * name() const noexcept;
Returns a static string describing the exception.
namespaceURI
const std::string & namespaceURI() const;
Returns the namespace URI of the SOAP Fault element. This can be used to distinguish between a SOAP 1.1 and 1.2 message.
operator =
SOAPFaultException & operator = (
const SOAPFaultException & exc
);
Assignment operator.
rethrow
void rethrow() const;
(Re)Throws the exception.