File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Error handling in RESTful Webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Error handling in RESTful Webservices" Watch "Error handling in RESTful Webservices" New topic

Error handling in RESTful Webservices

Saathvik Reddy
Ranch Hand

Joined: Jun 03, 2005
Posts: 228

I am new to Restful web services. Could anyone point me to any resources which talks about Error handling in Restful web services.

Thanks in advance
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
RESTful designs like to use existing HTTP error reporting mechanisms rather than inventing new ones.

The javax.servlet.http.HttpServletResponse interface Javadocs gives a list of these industry standard status codes.

I agree. Here's the link:
subject: Error handling in RESTful Webservices
jQuery in Action, 3rd edition