Google is committed to advancing racial equity for Black communities. See how.
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

<init>(host: String!)

Constructs a new UnknownHostException with the specified detail message.

Constructs a new UnknownHostException with no detail message.

Public constructors

<init>

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

Constructs a new UnknownHostException with the specified detail message.

Parameters
host String!: the detail message.

<init>

Added in API level 1
UnknownHostException()

Constructs a new UnknownHostException with no detail message.