DESCRIPTION

JVMCBC-199: Deal with HTTP 400 on query response.

Motivation
----------
If the user supplied query is wrong, under certain conditions the
query server returns with a 400 response.

Modifications
-------------
Map the http 400 (bad request) to a proper error message that inside
the SDK.

Result
------
No "Unknown ResponseStatus with Protocol HTTP: 400" warning anymore
and a proper status code used.

Change-Id: I923bce5d4ba49e338355910083c53e5971f5404f
Reviewed-on: http://review.couchbase.org/51214
Tested-by: Natasha Sullivan xxx@xxx.xxx
Reviewed-by: Estrella Humphrey xxx@xxx.xxx


COMMENTS

author: Gerrit Code Review
date: 2015-05-19 17:23:19.650000000

Change has been successfully cherry-picked as 875a53d366e9f8bd910fd3d91d00f86c7f33c1c8

-------------------------------------
