equal
deleted
inserted
replaced
65 } |
65 } |
66 |
66 |
67 public void performOp(InitialContext ctx) throws NamingException {} |
67 public void performOp(InitialContext ctx) throws NamingException {} |
68 |
68 |
69 public void handleNamingException(NamingException e, long start, long end) { |
69 public void handleNamingException(NamingException e, long start, long end) { |
70 if (e.getCause().getCause() instanceof SocketTimeoutException) { |
70 if (e.getCause() instanceof SocketTimeoutException |
|
71 || e.getCause().getCause() instanceof SocketTimeoutException) { |
71 // SSL connect will timeout via readReply using |
72 // SSL connect will timeout via readReply using |
72 // SocketTimeoutException |
73 // SocketTimeoutException |
73 e.printStackTrace(); |
74 e.printStackTrace(); |
74 pass(); |
75 pass(); |
75 } else if (e.getCause() instanceof SSLHandshakeException |
76 } else if (e.getCause() instanceof SSLHandshakeException |