Response exception handling simplified

This change simplifies the response exception handling a little bit, so
there is no need to pass 'exception_raised' parameter explicitly.

Please, take a look, I think this would be useful for you. Thanks!