What is the appropriate way to report an error back to the caller of a
HTTP REST call from a Resource class?

For example, what if I'm using JSON and there is some kind of JSON
parsing error?  Obviously, it would be nice to return a useful error
message to the caller of the API.

I'd really appreciate some example code, say, from within a
Resource.put() method.

Ian.

-- 
Email: [EMAIL PROTECTED]
Cell: +1 512 422 3588
Skype: sanity

Reply via email to