Table of Contents

Class AmazonUnmarshallingException

Namespace
Amazon.Runtime
Assembly
AWSSDK.Core.dll

This exception is thrown when there is a parse error on the response back from AWS.

public class AmazonUnmarshallingException : AmazonServiceException, ISerializable
Inheritance
AmazonUnmarshallingException
Implements
Derived
Inherited Members

Constructors

AmazonUnmarshallingException(SerializationInfo, StreamingContext)

Constructs a new instance of the AmazonSimpleDBException class with serialized data.

protected AmazonUnmarshallingException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

ArgumentNullException

The info parameter is null.

SerializationException

The class name is null or HResult is zero (0).

AmazonUnmarshallingException(string, string, Exception)

public AmazonUnmarshallingException(string requestId, string lastKnownLocation, Exception innerException)

Parameters

requestId string
lastKnownLocation string
innerException Exception

AmazonUnmarshallingException(string, string, Exception, HttpStatusCode)

public AmazonUnmarshallingException(string requestId, string lastKnownLocation, Exception innerException, HttpStatusCode statusCode)

Parameters

requestId string
lastKnownLocation string
innerException Exception
statusCode HttpStatusCode

AmazonUnmarshallingException(string, string, string, Exception)

public AmazonUnmarshallingException(string requestId, string lastKnownLocation, string responseBody, Exception innerException)

Parameters

requestId string
lastKnownLocation string
responseBody string
innerException Exception

AmazonUnmarshallingException(string, string, string, Exception, HttpStatusCode)

public AmazonUnmarshallingException(string requestId, string lastKnownLocation, string responseBody, Exception innerException, HttpStatusCode statusCode)

Parameters

requestId string
lastKnownLocation string
responseBody string
innerException Exception
statusCode HttpStatusCode

AmazonUnmarshallingException(string, string, string, string, Exception)

public AmazonUnmarshallingException(string requestId, string lastKnownLocation, string responseBody, string message, Exception innerException)

Parameters

requestId string
lastKnownLocation string
responseBody string
message string
innerException Exception

Properties

LastKnownLocation

Last known location in the response that was parsed, if available.

public string LastKnownLocation { get; }

Property Value

string

Message

public override string Message { get; }

Property Value

string

ResponseBody

The entire response body that caused this exception, if available.

public string ResponseBody { get; }

Property Value

string

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

ArgumentNullException

The info parameter is a null reference (Nothing in Visual Basic).