< prev index next >
src/java.base/share/classes/java/net/Socket.java
Print this page
*** 531,541 ****
/**
* 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
* @since 1.4
*/
void createImpl(boolean stream) throws SocketException {
if (impl == null)
setImpl();
--- 531,541 ----
/**
* Creates the socket implementation.
*
* @param stream a {@code boolean} value : {@code true} for a TCP socket,
* {@code false} for UDP.
! * @throws SocketException if creation fails
* @since 1.4
*/
void createImpl(boolean stream) throws SocketException {
if (impl == null)
setImpl();
< prev index next >