Package java.net Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class UnknownServiceException

Constructors

public  class  java.net.UnknownServiceException
    extends  java.io.IOException  
{
        // Constructors
    public UnknownServiceException();	
    public UnknownServiceException(String  msg);	
}

Thrown to indicate that an unknown service exception has occurred. Either the MIME type returned by a URL connection does not make sense, or the application is attempting to write to a read-only URL connection.


Constructors


UnknownServiceException

public UnknownServiceException() 

Constructs a new UnknownServiceException with no detail message.


UnknownServiceException

public UnknownServiceException(String  msg) 

Constructs a new UnknownServiceException with the specified detail message.

ParameterDescription
msg the detail message



© 1996 Sun Microsystems, Inc. All rights reserved.