public class ChannelBindException
extends java.lang.RuntimeException
Modifier | Constructor and Description |
---|---|
protected |
ChannelBindException(java.lang.String localHost,
int localPort,
java.lang.Throwable cause) |
protected |
ChannelBindException(java.lang.String localHost,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static ChannelBindException |
fail(java.net.SocketAddress bindAddress,
java.lang.Throwable cause)
Build a
ChannelBindException |
java.lang.Throwable |
fillInStackTrace() |
java.lang.String |
localHost()
Return the configured binding host
|
int |
localPort()
Return the configured binding port
|
protected ChannelBindException(java.lang.String localHost, int localPort, @Nullable java.lang.Throwable cause)
protected ChannelBindException(java.lang.String localHost, @Nullable java.lang.Throwable cause)
public static ChannelBindException fail(java.net.SocketAddress bindAddress, @Nullable java.lang.Throwable cause)
ChannelBindException
bindAddress
- the local addresscause
- the root causeChannelBindException
public java.lang.Throwable fillInStackTrace()
fillInStackTrace
in class java.lang.Throwable
public java.lang.String localHost()
public int localPort()