< prev index next >
src/java.naming/share/classes/com/sun/jndi/ldap/ext/StartTlsResponseImpl.java
Print this page
@@ -295,11 +295,11 @@
/*
* Returns the default SSL socket factory.
*
* @return The default SSL socket factory.
- * @throw IOException If TLS is not supported.
+ * @throws IOException If TLS is not supported.
*/
private SSLSocketFactory getDefaultFactory() throws IOException {
if (defaultFactory != null) {
return defaultFactory;
@@ -312,11 +312,11 @@
/*
* Start the TLS handshake and manipulate the input and output streams.
*
* @param factory The SSL socket factory to use.
* @return The SSL socket.
- * @throw IOException If an exception occurred while performing the
+ * @throws IOException If an exception occurred while performing the
* TLS handshake.
*/
private SSLSocket startHandshake(SSLSocketFactory factory)
throws IOException {
< prev index next >