Closed sdeleuze closed 12 years ago
Good idea. Should we implement only two of those?
Or should we try to have some specific Exception for common cases like forbidden, notfound...
Not sure. Perhaps we could reuse https://github.com/resthub/resthub-spring-stack/tree/master/resthub-web/resthub-web-server/src/main/java/org/resthub/web/exception by moving them to the resthub-web-common module ?
To be discussed ...
opened issue #112 - moving exceptions to the resthub-web-common module. I'll submit a pull request for the HTTP Client.
I think this could be a good default behaviour. Also, I think we should not throw checked exception since it make client painfull to use.
Any thoughts ?