I am connecting to ThingWorx 8.5 foundation server using Java SDK. I need to validate the credentials while connecting via ConnectedThingsClient. If the validation fails, I need the proper error message showing exact reason. i.e. I am expecting separate exceptions like server down, server is not responding, invalid username/password, connection timeout.
But ConnectedThingsClient.connect() throws a generic Exception object, with error message regarding the Connection Timed out.
Yes, if there is no solution to this, we will report a bug to PTC support. But I am hoping that the jars are some where out there and they haven't just removed the utitility classes without documenting it anywhere.