< prev index next >
test/jdk/javax/net/ssl/SSLSession/TestEnabledProtocols.java
Print this page
@@ -232,10 +232,14 @@
// must have been interrupted, no harm
break;
} catch (java.lang.InterruptedException ie) {
// must have been interrupted, no harm
break;
+ } catch (SSLException ssle) {
+ // The client side may have closed the socket.
+ System.out.println("Server SSLException:");
+ ssle.printStackTrace(System.out);
} catch (Exception e) {
System.out.println("Server exception:");
e.printStackTrace(System.out);
throw new RuntimeException(e);
} finally {
< prev index next >