Table of Contents

Class AmazonDateTimeUnmarshallingException

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 AmazonDateTimeUnmarshallingException : AmazonUnmarshallingException, ISerializable
Inheritance
AmazonDateTimeUnmarshallingException
Implements
Inherited Members

Constructors

AmazonDateTimeUnmarshallingException(SerializationInfo, StreamingContext)

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

protected AmazonDateTimeUnmarshallingException(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).

AmazonDateTimeUnmarshallingException(string, string, string, Exception)

public AmazonDateTimeUnmarshallingException(string requestId, string lastKnownLocation, string invalidDateTimeToken, Exception innerException)

Parameters

requestId string
lastKnownLocation string
invalidDateTimeToken string
innerException Exception

AmazonDateTimeUnmarshallingException(string, string, string, string, Exception)

public AmazonDateTimeUnmarshallingException(string requestId, string lastKnownLocation, string responseBody, string invalidDateTimeToken, Exception innerException)

Parameters

requestId string
lastKnownLocation string
responseBody string
invalidDateTimeToken string
innerException Exception

AmazonDateTimeUnmarshallingException(string, string, string, string, string, Exception)

public AmazonDateTimeUnmarshallingException(string requestId, string lastKnownLocation, string responseBody, string invalidDateTimeToken, string message, Exception innerException)

Parameters

requestId string
lastKnownLocation string
responseBody string
invalidDateTimeToken string
message string
innerException Exception

Properties

InvalidDateTimeToken

The string value which could not be converted into a valid DateTime instance.

public string InvalidDateTimeToken { 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).