square/retrofit — pull request #301 by JakeWharton (2013-08-08 22:12:22+00:00)
Title: Propagate network exceptions that happen inside the converter.

Gson has a truly nasty behavior of catching exceptions thrown from the underlying input stream and wrapping in JsonParseExceptions which causes network exceptions to be reported as unexpected exceptions! By wrapping the underlying stream we could when it fails and check at the call site to ensure we report the failure as network-related not conversion-related.

Closes #292.