Exception handling

Added more detailed REST service exception handling