Table of Contents

Class AmazonS3Exception

Namespace
Amazon.S3
Assembly
AWSSDK.S3.dll

Base exception for S3 errors.

public class AmazonS3Exception : AmazonServiceException
Inheritance
AmazonS3Exception
Derived

Constructors

AmazonS3Exception(Exception)

Construct an instance of AmazonS3Exception

public AmazonS3Exception(Exception innerException)

Parameters

innerException Exception

AmazonS3Exception(string)

Construct an instance of AmazonS3Exception

public AmazonS3Exception(string message)

Parameters

message string

AmazonS3Exception(string, ErrorType, string, string, HttpStatusCode)

Construct an instance of AmazonS3Exception

public AmazonS3Exception(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)

Parameters

message string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode

AmazonS3Exception(string, Exception)

Construct an instance of AmazonS3Exception

public AmazonS3Exception(string message, Exception innerException)

Parameters

message string
innerException Exception

AmazonS3Exception(string, Exception, ErrorType, string, string, HttpStatusCode)

Construct an instance of AmazonS3Exception

public AmazonS3Exception(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)

Parameters

message string
innerException Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode

AmazonS3Exception(string, Exception, ErrorType, string, string, HttpStatusCode, string)

Construct an instance of AmazonS3Exception

public AmazonS3Exception(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode, string amazonId2)

Parameters

message string
innerException Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode
amazonId2 string

AmazonS3Exception(string, Exception, ErrorType, string, string, HttpStatusCode, string, string)

Construct an instance of AmazonS3Exception

public AmazonS3Exception(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode, string amazonId2, string amazonCfId)

Parameters

message string
innerException Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode
amazonId2 string
amazonCfId string

Properties

AmazonCloudFrontId

A special token that helps AWS troubleshoot S3 accelerate problems.

public string AmazonCloudFrontId { get; protected set; }

Property Value

string

AmazonId2

A special token that helps AWS troubleshoot problems.

public string AmazonId2 { get; protected set; }

Property Value

string

Message

Gets the exception message.

public override string Message { get; }

Property Value

string

ResponseBody

The entire response body for this exception, if available.

public string ResponseBody { get; }

Property Value

string