Extracts an exeption with data from an ErrorResponse.

C# |
AmazonServiceException UnmarshallException( R input, Exception innerException, HttpStatusCode statusCode )

- input (R)
- The XML parsing context.
- innerException (Exception)
- An inner exception to be included with the returned exception
- statusCode (HttpStatusCode)
- The HttpStatusCode from the ErrorResponse

Either an exception based on the ErrorCode from the ErrorResponse, or the
general service exception for the service in question.