class TcpConnectException
source · line 64public
public class TcpConnectException internal constructor(
/**
* The originally requested host name.
*/
public val host: OsString,
/**
* The requested destination port.
*/
public val port: Int,
/**
* The concrete candidate failures collected before termination.
*/
public val attempts: Array<TcpConnectionFailure>,
/**
* Address-family lookup failures collected before termination.
*/
public val resolutionFailures: Array<TcpResolutionFailure>
) : Exception(Some("all TCP connection candidates failed"))
- Supertype
Exception - Inherited
val message: Option<String>· Exception - Inherited
fun printStackTrace(): Unit· Throwable
All usable TCP candidates failed; retains individual connection and resolution failures.
property attempts
source · line 76public
public val attempts: Array<TcpConnectionFailure>
get: public read-only
The concrete candidate failures collected before termination.
property host
source · line 68public
public val host: OsString
get: public read-only
The originally requested host name.
property port
source · line 72public
public val port: Int
get: public read-only
The requested destination port.
property resolutionFailures
source · line 80public
public val resolutionFailures: Array<TcpResolutionFailure>
get: public read-only
Address-family lookup failures collected before termination.