code: private void handleErrorResponse(String jsonResponse)
  			throws MusixMatchException {
  		StatusCode statusCode;
  		Gson gson = new Gson();
  
  		System.out.println(jsonResponse);
  
  		ErrorMessage errMessage = gson.fromJson(jsonResponse,
  				ErrorMessage.class);
  		int responseCode = errMessage.getMessageContainer().getHeader()
  				.getStatusCode();
  
  		switch (responseCode) {
  		case 400:
  			statusCode = StatusCode.BAD_SYNTAX;
  			break;
  		case 401:
  			statusCode = StatusCode.AUTH_FAILED;
  			break;
  		case 402:
  			statusCode = StatusCode.LIMIT_REACHED;
  			break;
  		case 403:
  			statusCode = StatusCode.NOT_AUTHORIZED;
  			break;
  		case 404:
  			statusCode = StatusCode.RESOURCE_NOT_FOUND;
  			break;
  		case 405:
  			statusCode = StatusCode.METHOD_NOT_FOUND;
  			break;
  		default:
  			statusCode = StatusCode.ERROR;
  			break;
  		}
  
  		throw new MusixMatchException(statusCode.getStatusMessage());
  	}
docs: Handle the error response.
  
  @param jsonResponse
  the jsonContent.
  @throws MusixMatchException
  if any error occurs