Exception handling and request results
HTTP defines a suite of standard status codes (http://en.wikipedia.org/wiki/List_of_HTTP_status_codes) that specify the result of the processed request. Status codes are organized into ranges and each range has a different meaning. For example, status codes in the 200 range mean "successful", while status codes in the 400 range mean the client issued a bad request.