APIdia Launch Partner
Top Description Fields Constructors Methods
java.rmi

public Class UnknownHostException

extends RemoteException
Class Inheritance

An UnknownHostException is thrown if a java.net.UnknownHostException occurs while creating a connection to the remote host for a remote method call.
Since
1.1

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from java.rmi.RemoteException:
detail

Constructor Summary

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

Constructs an UnknownHostException with the specified detail message.

public
UnknownHostException(String
the detail message
s
,
Exception
the nested exception
ex
)

Constructs an UnknownHostException with the specified detail message and nested exception.

Method Summary

Inherited from java.rmi.RemoteException:
getCausegetMessage

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.rmi.RemoteException.serialVersionUID.

Constructor Detail

UnknownHostExceptionback to summary
public UnknownHostException(String s)

Constructs an UnknownHostException with the specified detail message.

Parameters
s:String

the detail message

Since
1.1
UnknownHostExceptionback to summary
public UnknownHostException(String s, Exception ex)

Constructs an UnknownHostException with the specified detail message and nested exception.

Parameters
s:String

the detail message

ex:Exception

the nested exception

Since
1.1