public class ChannelBindException extends RuntimeException
| Modifier | Constructor and Description |
|---|---|
protected |
ChannelBindException(String localHost,
int localPort,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static ChannelBindException |
fail(AbstractBootstrap<?,?> bootstrap,
Throwable cause)
Deprecated.
as of 0.9.7. Use
fail(SocketAddress, Throwable) |
static ChannelBindException |
fail(SocketAddress localAddress,
Throwable cause)
Build a
ChannelBindException |
Throwable |
fillInStackTrace() |
String |
localHost()
Return the configured binding host
|
int |
localPort()
Return the configured binding port
|
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString@Deprecated public static ChannelBindException fail(AbstractBootstrap<?,?> bootstrap, @Nullable Throwable cause)
fail(SocketAddress, Throwable)ChannelBindExceptionbootstrap - a netty bootstrapcause - a root causeChannelBindExceptionpublic static ChannelBindException fail(SocketAddress localAddress, @Nullable Throwable cause)
ChannelBindExceptionlocalAddress - the local addresscause - the root causeChannelBindExceptionpublic Throwable fillInStackTrace()
fillInStackTrace in class Throwablepublic String localHost()
public int localPort()