options.setSocketFactory(clientSocketFactory); mqttConnect(options); } catch (final NoSuchAlgorithmException e) { throw new AWSIotCertificateException("A certificate error occurred.", e);
options.setSocketFactory(clientSocketFactory); mqttConnect(options); } catch (final NoSuchAlgorithmException e) { throw new AWSIotCertificateException("A certificate error occurred.", e);