What if I want to make up my own Status codes? The isSuccess() and is*Error() methods do explicit code checks. Why? Why isn't the implementation for, say, isSuccess() this:

        return code >= 200 && code < 300;

?

- Paul

P.S.: And the boolean 'result' variable is so unnecessary.

Reply via email to