4#include <system/exceptions.h>
5#include <system/object.h>
6#include <system/shared_ptr.h>
7#include <system/string.h>
8#include <xml/xml_node.h>
9#include <xml/xml_qualified_name.h>
11namespace System {
namespace Web {
namespace Services {
namespace Protocols {
13class SoapFaultSubCode;
15class Details_SoapException;
23 friend class System::ExceptionWrapperHelper;
81 CODEPORTING_ARGS(message, code, innerException)
103 CODEPORTING_ARGS(message, code, actor, innerException)
119 CODEPORTING_ARGS(message, code, actor, detail)
136 CODEPORTING_ARGS(message, code, actor, detail, innerException)
150 CODEPORTING_ARGS(message, code, subcode)
172 ), CODEPORTING_ARGS(message, code, actor, role, detail, subcode, innerException)
196 ), CODEPORTING_ARGS(message, code, actor, role, lang, detail, subcode, innerException)
A base class for classes that represent system (rather than application) exceptions....
Template that represents wrapper of exceptions that are derived from Exception class.
Definition: exception.h:113
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Represents the exception thrown when method is called over SOAP and an error occurs....
Definition: soap_exception.h:22
static bool IsVersionMismatchFaultCode(System::SharedPtr< Xml::XmlQualifiedName > code)
Checks if the specified code is equal to the 'VersionMismatch' SOAP fault code.
static System::SharedPtr< Xml::XmlQualifiedName > ServerFaultCode
A SOAP fault code that represents an error occurred on the server.
Definition: soap_exception.h:36
Details_SoapException(String message, System::SharedPtr< Xml::XmlQualifiedName > code)
Constructs a new instance.
static bool IsClientFaultCode(System::SharedPtr< Xml::XmlQualifiedName > code)
Checks if the specified code is equal to the 'Client' SOAP fault code.
System::SharedPtr< SoapFaultSubCode > get_SubCode()
Returns optional information from the 'subcode' XML element.
static System::SharedPtr< Xml::XmlQualifiedName > VersionMismatchFaultCode
A SOAP fault code that represents an invalid namespace.
Definition: soap_exception.h:38
System::SharedPtr< Xml::XmlQualifiedName > get_Code()
Returns a namespace qualified local name in format 'namespace:localname' that specifies the SOAP faul...
Details_SoapException(String message, System::SharedPtr< Xml::XmlQualifiedName > code, String actor, String role, String lang, System::SharedPtr< Xml::XmlNode > detail, System::SharedPtr< SoapFaultSubCode > subcode, Exception innerException)
Constructs a new instance.
Details_SoapException(String message, System::SharedPtr< Xml::XmlQualifiedName > code, String actor, String role, System::SharedPtr< Xml::XmlNode > detail, System::SharedPtr< SoapFaultSubCode > subcode, Exception innerException)
Constructs a new instance.
String get_Lang()
Returns the language, which is used to localize exception properties.
String get_Node()
Returns the code piece where the exception is thrown when SOAP version 1.2 is used.
static bool IsMustUnderstandFaultCode(System::SharedPtr< Xml::XmlQualifiedName > code)
Checks if the specified code is equal to the 'MustUnderstand' SOAP fault code.
Details_SoapException(String message, System::SharedPtr< Xml::XmlQualifiedName > code, String actor)
Constructs a new instance.
System::SharedPtr< Xml::XmlNode > get_Detail()
Returns details about the thrown exception.
Details_SoapException()
Constructs a new instance.
static System::SharedPtr< Xml::XmlQualifiedName > MustUnderstandFaultCode
A SOAP fault code that indicates if the SOAP element marked by the 'MustUnderstand' attribute is not ...
Definition: soap_exception.h:34
Details_SoapException(String message, System::SharedPtr< Xml::XmlQualifiedName > code, System::SharedPtr< SoapFaultSubCode > subcode)
Constructs a new instance.
String get_Role()
Returns the role of the XML web service that throws the exception.
void DoThrow(const System::ExceptionPtr &self) const override
Throws exception instance wrapped by exception wrapper.
Definition: soap_exception.h:218
Details_SoapException(String message, System::SharedPtr< Xml::XmlQualifiedName > code, String actor, System::SharedPtr< Xml::XmlNode > detail, Exception innerException)
Constructs a new instance.
static bool IsServerFaultCode(System::SharedPtr< Xml::XmlQualifiedName > code)
Checks if the specified code is equal to the 'Server' SOAP fault code.
Details_SoapException(String message, System::SharedPtr< Xml::XmlQualifiedName > code, Exception innerException)
Constructs a new instance.
Details_SoapException(String message, System::SharedPtr< Xml::XmlQualifiedName > code, String actor, System::SharedPtr< Xml::XmlNode > detail)
Constructs a new instance.
String get_Actor()
Returns the code piece where the exception is thrown when SOAP version 1.1 is used.
Details_SoapException(String message, System::SharedPtr< Xml::XmlQualifiedName > code, String actor, Exception innerException)
Constructs a new instance.
static System::SharedPtr< Xml::XmlQualifiedName > ClientFaultCode
A SOAP fault code that represents a client call that is formatted incorrectly or doesn't contain requ...
Definition: soap_exception.h:30
static System::SharedPtr< Xml::XmlQualifiedName > DetailElementName
A namespace qualified local name in format 'namespace:localname'.
Definition: soap_exception.h:32
Definition: db_command.h:9