Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.net
Class UnknownServiceException  view UnknownServiceException download UnknownServiceException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.net.UnknownServiceException
All Implemented Interfaces:
java.io.Serializable

public class UnknownServiceException
extends java.io.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.


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static long serialVersionUID
          Compatible with JDK 1.0+.
 
Fields inherited from class java.lang.Throwable
 
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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Compatible with JDK 1.0+.

See Also:
Constant Field Values
Constructor Detail

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.