1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00

Fxing bugzilla 138315. Handshake failure message was printing to stderr.

This commit is contained in:
David Dykstal 2006-04-27 12:53:45 +00:00
parent 19a6904752
commit 7f1e97a9be

View file

@ -729,18 +729,15 @@ public class ClientConnection implements IDataStoreConstants
_launchSocket = lSocket;
lSocket.startHandshake();
SSLSession session = lSocket.getSession();
if (session == null)
{
System.out.println("handshake failed");
lSocket.close();
}
}
catch (SSLHandshakeException e)
{
result = new ConnectionStatus(false, e, true, mgr.getUntrustedCerts());
return result;
}
@ -750,15 +747,15 @@ public class ClientConnection implements IDataStoreConstants
{
_launchSocket.close();
}
e.printStackTrace();
result = new ConnectionStatus(false, e);
result = new ConnectionStatus(false, e);
return result;
}
}
catch (Exception e)
{
e.printStackTrace();
result = new ConnectionStatus(false, e);
return result;
}
}
else
@ -778,8 +775,6 @@ public class ClientConnection implements IDataStoreConstants
}
catch (IOException ioe)
{
System.out.println(ioe);
ioe.printStackTrace();
result = new ConnectionStatus(false, ioe);
}