Package | Description |
---|---|
java.net |
Provides exceptions related to socket connections.
|
Modifier and Type | Class and Description |
---|---|
class |
BindException
Signals that an error occurred while attempting to bind a
socket to a local address and port.
|
class |
ConnectException
Signals that an error occurred while attempting to connect a
socket to a remote address and port.
|
class |
NoRouteToHostException
Signals that an error occurred while attempting to connect a
socket to a remote address and port.
|
class |
PortUnreachableException
Signals that an ICMP Port Unreachable message has been
received on a connected datagram.
|
Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.