Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.net

Class UnknownServiceException

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


public class UnknownServiceException

extends IOException

Contrary to what you might think, this does not indicate that the TCP/IP service name specified was invalid. Instead it indicates that the MIME type returned from a URL could not be determined or that an attempt was made to write to a read-only URL.

Authors:

Constructor Summary

UnknownServiceException()

Create a new instance without a descriptive error message.
UnknownServiceException(java.lang.String message)

Create a new instance with a descriptive error message.

Constructor Details

UnknownServiceException

public UnknownServiceException()

Create a new instance without a descriptive error message.


UnknownServiceException

public UnknownServiceException(java.lang.String message)

Create a new instance with a descriptive error message.

Parameters: