Top Description Fields Constructors
java.net

public Class UnknownServiceException

extends IOException
Class Inheritance
Imports
java.io.IOException

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.
Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
UnknownServiceException()

Constructs a new UnknownServiceException with no detail message.

public
UnknownServiceException(String
the detail message.
msg
)

Constructs a new UnknownServiceException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Annotations
@Serial

Constructor Detail

UnknownServiceExceptionback to summary
public UnknownServiceException()

Constructs a new UnknownServiceException with no detail message.

UnknownServiceExceptionback to summary
public UnknownServiceException(String msg)

Constructs a new UnknownServiceException with the specified detail message.

Parameters
msg:String

the detail message.