Class AmazonDateTimeUnmarshallingException
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
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe 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
AmazonDateTimeUnmarshallingException(string, string, string, string, Exception)
public AmazonDateTimeUnmarshallingException(string requestId, string lastKnownLocation, string responseBody, string invalidDateTimeToken, Exception innerException)
Parameters
requestId
stringlastKnownLocation
stringresponseBody
stringinvalidDateTimeToken
stringinnerException
Exception
AmazonDateTimeUnmarshallingException(string, string, string, string, string, Exception)
public AmazonDateTimeUnmarshallingException(string requestId, string lastKnownLocation, string responseBody, string invalidDateTimeToken, string message, Exception innerException)
Parameters
requestId
stringlastKnownLocation
stringresponseBody
stringinvalidDateTimeToken
stringmessage
stringinnerException
Exception
Properties
InvalidDateTimeToken
The string value which could not be converted into a valid DateTime instance.
public string InvalidDateTimeToken { get; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
info
parameter is a null reference (Nothing in Visual Basic).