LPS-51154 fix compilation error

Version in core doesn't throw Exception.
LPS-51150 We use this method to check if the server is compatible with the client prior to login
LPS-51150 Regen