Name
BindException
Synopsis
Signals that a socket cannot be bound to a local address and port. This often means that the port is already in use.
Figure 12-1. java.net.BindException
public class BindException extends SocketException { // Public Constructors public BindException( ); public BindException(String msg); }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.