Packages This Package Prev Next Index
§4.19 Class UnknownServiceException
public class java.net.UnknownServiceException
extends java.io.IOException (I-§2.29)
{
// Constructors
public UnknownServiceException(); §4.19.1
public UnknownServiceException(String msg); §4.19.2
}
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.
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.
- Parameters:
msg
- the detail message
-
Packages This Package Prev Next Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com