Added missing InvalidResponseException.

The client could generate a fatal error, because the InvalidResponseException was not found. It was actually missing, so here I added it.