Class AmazonS3Exception
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
stringerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode
AmazonS3Exception(string, Exception)
Construct an instance of AmazonS3Exception
public AmazonS3Exception(string message, Exception innerException)
Parameters
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
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
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
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCodeamazonId2
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
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCodeamazonId2
stringamazonCfId
string
Properties
AmazonCloudFrontId
A special token that helps AWS troubleshoot S3 accelerate problems.
public string AmazonCloudFrontId { get; protected set; }
Property Value
AmazonId2
A special token that helps AWS troubleshoot problems.
public string AmazonId2 { get; protected set; }
Property Value
Message
Gets the exception message.
public override string Message { get; }
Property Value
ResponseBody
The entire response body for this exception, if available.
public string ResponseBody { get; }