Catch two different exceptions for new ClientSession and ClientSession.execute.
More documentation.