public class ChannelBindException
extends java.lang.RuntimeException
Modifier | Constructor and Description |
---|---|
protected |
ChannelBindException(java.lang.String localHost,
int localPort,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static ChannelBindException |
fail(io.netty.bootstrap.AbstractBootstrap<?,?> bootstrap,
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)
public static ChannelBindException fail(io.netty.bootstrap.AbstractBootstrap<?,?> bootstrap, @Nullable java.lang.Throwable cause)
ChannelBindException
bootstrap
- a netty bootstrapcause
- a root causeChannelBindException
public java.lang.Throwable fillInStackTrace()
fillInStackTrace
in class java.lang.Throwable
public java.lang.String localHost()
public int localPort()