java.net.UnknownHostException (JDK 1.0)
Signals that the name of a specified host could not be resolved.
public classUnknownHostExceptionextends IOException { //Public ConstructorspublicUnknownHostException(Stringhost); publicUnknownHostException(); }
Hierarchy:
Object->Throwable(Serializable)->Exception->IOException->UnknownHostException
Thrown By:
InetAddress.getAllByName(), InetAddress.getByName(), InetAddress.getLocalHost(), Socket()