7digital/SevenDigital.Api.Wrapper — pull request #27 by knocte (2012-11-08 18:44:49+00:00)
Title: Refactoring around ApiException: try to make it less mutable

This neat refactoring makes the code a bit more simple by
* making the ApiException responsible of assigning itself the properties
(=> private setters, more immutable)
* removing the methods PopulateStatusAndBodyFromResponse (mutability smell)
and Create*Exception ones (IoC smell).

I know I could go a bit further and user more interfaces instead of concrete
implementations, but with this change we're in a better place than before.

This is some cleanup before I propose another pull request about
exception messages.