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)
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
public static ChannelBindException fail(AbstractBootstrap<?,?> bootstrap, @Nullable Throwable cause)
ChannelBindException
bootstrap
- a netty bootstrapcause
- a root causeChannelBindException
public Throwable fillInStackTrace()
fillInStackTrace
in class Throwable
public String localHost()
public int localPort()