< prev index next >

src/java.base/share/classes/java/net/Socket.java

Print this page

        

@@ -531,11 +531,11 @@
     /**
      * Creates the socket implementation.
      *
      * @param stream a {@code boolean} value : {@code true} for a TCP socket,
      *               {@code false} for UDP.
-     * @throws IOException if creation fails
+     * @throws SocketException if creation fails
      * @since 1.4
      */
      void createImpl(boolean stream) throws SocketException {
         if (impl == null)
             setImpl();
< prev index next >