Initializes an AmazonS3Exception with error information provided in an
AmazonS3 response and the inner exception that is the cause of the exception
Declaration Syntax
C# |
public AmazonS3Exception( string message, HttpStatusCode statusCode, string requestAddr, WebHeaderCollection responseHeaders, Exception innerException )
Parameters
- message (String)
- Overview of error
- statusCode (HttpStatusCode)
- HTTP status code for error response
- requestAddr (String)
- The S3 request url
- responseHeaders (WebHeaderCollection)
- The response headers containing S3 specific information The nested exception that caused the AmazonS3Exception
- innerException (Exception)