public class BindException extends SocketException
BindException
is thrown when a process cannot bind a local
address/port, either because it is already bound or reserved by the OS.
Most applications should not catch this exception; it is
more robust to catch the superclass SocketException
.
Constructor and Description |
---|
BindException()
Constructs a new instance.
|
BindException(String detailMessage)
Constructs a new instance with the given detail message.
|
BindException(String detailMessage,
Throwable cause)
Constructs a new instance with the given detail message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BindException()
public BindException(String detailMessage)