class TcpResolutionTimeoutException
source · line 86public
public class TcpResolutionTimeoutException internal constructor(
/**
* The originally requested host name.
*/
public val host: OsString,
/**
* The requested destination port.
*/
public val port: Int,
/**
* The address family whose lookup timed out.
*/
public val family: AddressFamily,
/**
* The configured timeout duration.
*/
public val limit: Duration,
/**
* The measured elapsed time when the timeout was reported.
*/
public val elapsed: Duration
) : Exception(Some("TCP address resolution timeout"))
- Supertype
Exception - Inherited
val message: Option<String>· Exception - Inherited
fun printStackTrace(): Unit· Throwable
Address resolution exceeded its configured time limit for the specified family.
property port
source · line 94public
public val port: Int
get: public read-only
The requested destination port.
property family
source · line 98public
public val family: AddressFamily
get: public read-only
The address family whose lookup timed out.
property elapsed
source · line 106public
public val elapsed: Duration
get: public read-only
The measured elapsed time when the timeout was reported.
property limit
source · line 102public
public val limit: Duration
get: public read-only
The configured timeout duration.
property host
source · line 90public
public val host: OsString
get: public read-only
The originally requested host name.