exception is different for different versions of the server.