15. The java.net Package
Contents:
The package java.net contains classes and interfaces that provide a powerful infrastructure for networking in Java. These include:
Figure 15.1 shows the class hierarchy for the java.net package. BindExceptionNameBindExceptionSynopsis
DescriptionA BindException is thrown when a socket cannot be bound to a local address and port, which can occur if the port is already in use or the address is unavailable. Class Summary
public class java.net.BindException extends java.net.SocketException { // Constructors public BindException(); public BindException(String msg); } ConstructorsBindExceptionpublic BindException()
public BindException(String msg)
Inherited Methods
See AlsoException, IOException, RuntimeException, SocketException |
|