[Chapter 28] 28.20 java.net.UnknownHostException (JDK 1.0)

#

| Chapter 28 The java.net Package |

## 28.20 java.net.UnknownHostException (JDK 1.0)

###

Signals that the name of a specified host could not be resolved.

    public class UnknownHostException extends IOException {
        // Public Constructors
                public UnknownHostException(String host);
                public UnknownHostException();
    }

### Hierarchy:

Object->Throwable(Serializable)->Exception->IOException->UnknownHostException

### Thrown By:

InetAddress.getAllByName(), InetAddress.getByName(), InetAddress.getLocalHost(), Socket()

java.net.SocketImplFactory (JDK 1.0) |  | java.net.UnknownServiceException (JDK 1.0)