introduced a HTTP exception which takes a response object

* leads to better exceptions