AWS SDK for C++  1.9.161
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::Client::XmlErrorMarshaller Class Reference

#include <AWSErrorMarshaller.h>

+ Inheritance diagram for Aws::Client::XmlErrorMarshaller:

Public Member Functions

AWSError< CoreErrorsMarshall (const Aws::Http::HttpResponse &response) const override
- Public Member Functions inherited from Aws::Client::AWSErrorMarshaller
virtual ~AWSErrorMarshaller ()
virtual AWSError< CoreErrorsFindErrorByName (const char *exceptionName) const
virtual AWSError< CoreErrorsFindErrorByHttpResponseCode (Aws::Http::HttpResponseCode code) const
virtual Aws::String ExtractRegion (const AWSError< CoreErrors > &) const
virtual Aws::String ExtractEndpoint (const AWSError< CoreErrors > &) const

Protected Member Functions

const Aws::Utils::Xml::XmlDocumentGetXmlPayloadFromError (const AWSError< CoreErrors > &) const
- Protected Member Functions inherited from Aws::Client::AWSErrorMarshaller
AWSError< CoreErrorsMarshall (const Aws::String &exceptionName, const Aws::String &message) const

Detailed Description

Definition at line 82 of file AWSErrorMarshaller.h.

Member Function Documentation

◆ GetXmlPayloadFromError()

const Aws::Utils::Xml::XmlDocument& Aws::Client::XmlErrorMarshaller::GetXmlPayloadFromError ( const AWSError< CoreErrors > &  ) const

◆ Marshall()

AWSError<CoreErrors> Aws::Client::XmlErrorMarshaller::Marshall ( const Aws::Http::HttpResponse response) const

Converts an exceptionName and message into an Error object, if it can be parsed. Otherwise, it returns and AWSError with CoreErrors::UNKNOWN as the error type.

Implements Aws::Client::AWSErrorMarshaller.

The documentation for this class was generated from the following file: