changes include ...
- change all code to throw / catch well-typed, exceptions, instead
of "Exception".
- 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).
- error status codes are now correctly added to the response via
sendError(), with the addition of an error string
- 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.
|
aapp-3.patch.gz
Description: GNU Zip compressed data