Be more explicit with Exceptions and http codes