Top Description Fields Constructors Methods
reactor.netty5

public Class ChannelBindException

extends RuntimeException
Class Inheritance
Imports
java.io.IOException, java.net.InetSocketAddress, .SocketAddress, java.util.Objects, reactor.util.annotation.Nullable

Represents a failing attempt to bind a local socket address
Author
Stephane Maldini

Field Summary

Modifier and TypeField and Description
pack-priv final String
pack-priv final int
private static final long

Constructor Summary

AccessConstructor and Description
protected
ChannelBindException(String localHost, int localPort, Throwable cause)

protected

Method Summary

Modifier and TypeMethod and Description
public static ChannelBindException

Returns:

a new ChannelBindException
fail
(SocketAddress
the local address
bindAddress
,
Throwable
the root cause
cause
)

Build a ChannelBindException

public synchronized Throwable
fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

Fills in the execution stack trace.
public String

Returns:

the configured binding host
localHost
()

Return the configured binding host

public int

Returns:

the configured local binding port
localPort
()

Return the configured binding port

Field Detail

localHostback to summary
pack-priv final String localHost
localPortback to summary
pack-priv final int localPort
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

ChannelBindExceptionback to summary
protected ChannelBindException(String localHost, int localPort, Throwable cause)
ChannelBindExceptionback to summary
protected ChannelBindException(String localHost, Throwable cause)

Method Detail

failback to summary
public static ChannelBindException fail(SocketAddress bindAddress, Throwable cause)

Build a ChannelBindException

Parameters
bindAddress:SocketAddress

the local address

cause:Throwable

the root cause

Returns:ChannelBindException

a new ChannelBindException

Since
0.9.7
fillInStackTraceback to summary
public synchronized Throwable fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

Doc from java.lang.Throwable.fillInStackTrace.

Fills in the execution stack trace. This method records within this Throwable object information about the current state of the stack frames for the current thread.

If the stack trace of this Throwable is not writable, calling this method has no effect.

Returns:Throwable

a reference to this Throwable instance.

Annotations
@Override
localHostback to summary
public String localHost()

Return the configured binding host

Returns:String

the configured binding host

localPortback to summary
public int localPort()

Return the configured binding port

Returns:int

the configured local binding port