private void HandleClientErrors(HttpStatusCode statusCode) { throw new BitbucketApiException( "The server indicated a client error has occured and returned the following HTTP status code: " + statusCode, BitbucketApiError.ClientError); }