APIdia Launch Partner
Top Description Fields Constructors
java.net

public Class UnknownHostException

extends IOException
Class Inheritance
Imports
java.io.IOException

Thrown to indicate that the IP address of a host could not be determined.
Author
Jonathan Payne
Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
UnknownHostException(String
the detail message.
message
)

Constructs a new UnknownHostException with the specified detail message.

public
UnknownHostException()

Constructs a new UnknownHostException with no detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Annotations
@Serial

Constructor Detail

UnknownHostExceptionback to summary
public UnknownHostException(String message)

Constructs a new UnknownHostException with the specified detail message.

Parameters
message:String

the detail message.

UnknownHostExceptionback to summary
public UnknownHostException()

Constructs a new UnknownHostException with no detail message.