java.net
Class 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 Summary
UnknownHostException()
          Constructs a new UnknownHostException with no detail message.
UnknownHostException(String host)
          Constructs a new UnknownHostException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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

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.