public class ChannelBindException extends RuntimeException
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ChannelBindException(String localHost,
                    int localPort,
                    @Nullable Throwable cause)  | 
protected  | 
ChannelBindException(String localHost,
                    @Nullable Throwable cause)  | 
| Modifier and Type | Method and Description | 
|---|---|
static ChannelBindException | 
fail(SocketAddress bindAddress,
    @Nullable 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, toStringprotected ChannelBindException(String localHost, int localPort, @Nullable Throwable cause)
public static ChannelBindException fail(SocketAddress bindAddress, @Nullable Throwable cause)
ChannelBindException.bindAddress - the local addresscause - the root causeChannelBindExceptionpublic Throwable fillInStackTrace()
fillInStackTrace in class Throwablepublic String localHost()
public int localPort()