java.net

Class 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.

UNKNOWN: updated to 1.4

Constructor Summary
UnknownServiceException()
Create a new instance without a descriptive error message.
UnknownServiceException(String message)
Create a new instance with a descriptive error message.

Constructor Detail

UnknownServiceException

public UnknownServiceException()
Create a new instance without a descriptive error message.

UnknownServiceException

public UnknownServiceException(String message)
Create a new instance with a descriptive error message.

Parameters: message a message describing the error that occurred