test/jdk/javax/net/ssl/SSLSession/TestEnabledProtocols.java
changeset 50768 68fa3d4026ea
parent 47216 71c04702a3d5
child 51031 a40b75d39ecd
equal deleted inserted replaced
50767:356eaea05bf0 50768:68fa3d4026ea
   232                     // must have been interrupted, no harm
   232                     // must have been interrupted, no harm
   233                     break;
   233                     break;
   234                 } catch (java.lang.InterruptedException ie) {
   234                 } catch (java.lang.InterruptedException ie) {
   235                     // must have been interrupted, no harm
   235                     // must have been interrupted, no harm
   236                     break;
   236                     break;
       
   237                 } catch (SSLException ssle) {
       
   238                     // The client side may have closed the socket.
       
   239                     System.out.println("Server SSLException:");
       
   240                     ssle.printStackTrace(System.out);
   237                 } catch (Exception e) {
   241                 } catch (Exception e) {
   238                     System.out.println("Server exception:");
   242                     System.out.println("Server exception:");
   239                     e.printStackTrace(System.out);
   243                     e.printStackTrace(System.out);
   240                     throw new RuntimeException(e);
   244                     throw new RuntimeException(e);
   241                 } finally {
   245                 } finally {