throw correctly the exception if the exception does not have a response