As far as I can see *invalid_response* is not one of the known error results listed in the [documentation] (http://susestudio.com/help/api/v2/general.html). My assumption so far was that we put either one of the listed error results or an HTTP error code here. In this case I would actually suggest to leave out the *invalid_response* error code and create the exception using only the above message and cause?

This would IMO even make the additional constructor in SUSEStudioException obsolete, what do you think?

Apart from these comments I would be fine with merging the suggested changes, thanks for your efforts so far!