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)
ChannelBindExceptionbindAddress - the local addresscause - the root causeChannelBindExceptionpublic java.lang.Throwable fillInStackTrace()
fillInStackTrace in class java.lang.Throwablepublic java.lang.String localHost()
public int localPort()