Added in API level 1

UnknownHostException

open class UnknownHostException : IOException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.io.IOException
   ↳ java.net.UnknownHostException

Thrown to indicate that the IP address of a host could not be determined.

Summary

Public constructors

Constructs a new UnknownHostException with the specified detail message.

Constructs a new UnknownHostException with no detail message.

Public constructors

UnknownHostException

Added in API level 1
UnknownHostException(message: String!)

Constructs a new UnknownHostException with the specified detail message.

Parameters
message String!: the detail message.

UnknownHostException

Added in API level 1
UnknownHostException()

Constructs a new UnknownHostException with no detail message.