# Print output for @column tags ?> UnknownHostException - Android SDK | Android Developers

Most visited


Recently visited


UnknownHostException

public class UnknownHostException
extends IOException

java.lang.Object
   ↳ java.lang.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

UnknownHostException(String host)

Constructs a new UnknownHostException with the specified detail message.

UnknownHostException()

Constructs a new UnknownHostException with no detail message.

Inherited methods

Public constructors


UnknownHostException

public UnknownHostException (String host)

Constructs a new UnknownHostException with the specified detail message.

Parameters
host String: the detail message.

UnknownHostException

public UnknownHostException ()

Constructs a new UnknownHostException with no detail message.

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.