#

| Chapter 28 The java.net Package |

## 28.21 java.net.UnknownServiceException (JDK 1.0)

###

Signals an attempt to use an unsupported service of a network connection.

    public class UnknownServiceException extends IOException {
        // Public Constructors
                public UnknownServiceException();
                public UnknownServiceException(String msg);
    }

### Hierarchy:

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

java.net.UnknownHostException (JDK 1.0) |  | java.net.URL (JDK 1.0)