Class java.net.UnknownHostException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.net.UnknownHostException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.io.IOException
                           |
                           +----java.net.UnknownHostException

public class UnknownHostException
extends IOException
Signals that the address of the server specified by a network client could not be resolved.

Constructor Index

 o UnknownHostException(String)
Constructs a new UnknownHostException with the specified detail message.
 o UnknownHostException()
Constructs a new UnknownHostException with no detail message.

Constructors

 o UnknownHostException
  public UnknownHostException(String host)
Constructs a new UnknownHostException with the specified detail message. A detail message is a String that gives a specific description of this error.
Parameters:
host - the detail message
 o UnknownHostException
  public UnknownHostException()
Constructs a new UnknownHostException with no detail message. A detail message is a String that gives a specific description of this error.

All Packages  Class Hierarchy  This Package  Previous  Next  Index