Class AmazonClientException
Exception thrown by the SDK for errors that occur within the SDK.
public class AmazonClientException : Exception, ISerializable
- Inheritance
-
AmazonClientException
- Implements
- Inherited Members
Constructors
AmazonClientException(SerializationInfo, StreamingContext)
Constructs a new instance of the AmazonClientException class with serialized data.
protected AmazonClientException(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).
AmazonClientException(string)
public AmazonClientException(string message)
Parameters
message
string
AmazonClientException(string, Exception)
public AmazonClientException(string message, Exception innerException)