changes include ...

  1. change all code to throw / catch well-typed,  exceptions, instead of "Exception".
  2. informative http result codes are now returned when there is an error in the request. for example, return 404 when a resource is not found. previously, any sort of problem on the platform resulted in status code 500 (internal server error).
  3. error status codes are now correctly added to the response via sendError(), with the addition of an error string
  4. more robust / consistent error handling - several types of faulty requests were resulting in NPEs. now, a request for a collection with no entries returns the empty collection. a request for a non-existent entry returns error 404 ... consistently i hope.

patch file is attached. patch is rooted at the roller/trunk directory.

Attachment: aapp-3.patch.gz
Description: GNU Zip compressed data

Reply via email to