Initializes an AmazonEC2Exception with error information provided in an
AmazonEC2 response.
Declaration Syntax
Parameters
- message (String)
- A message that describes the error
- statusCode (HttpStatusCode)
- HTTP status code for error response
- errorCode (String)
- Error Code returned by the service
- errorType (String)
- Error type. Possible types: Sender, Receiver or Unknown
- requestId (String)
- Request ID returned by the service
- xml (String)
- Compete xml found in response