public class

UnknownHostException

extends IOException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.net.UnknownHostException

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public UnknownHostException (String host)

Constructs a new UnknownHostException with the specified detail message.

Parameters
host the detail message.

public UnknownHostException ()

Constructs a new UnknownHostException with no detail message.