APIdia Launch Partner
Top Description Fields Constructors Methods
java.rmi

public Class ConnectException

extends RemoteException
Class Inheritance

A ConnectException is thrown if a connection is refused to the remote host for a remote method call.
Author
Ann Wollrath
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
ConnectException(String
the detail message
s
)

Constructs a ConnectException with the specified detail message.

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

Constructs a ConnectException 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

ConnectExceptionback to summary
public ConnectException(String s)

Constructs a ConnectException with the specified detail message.

Parameters
s:String

the detail message

Since
1.1
ConnectExceptionback to summary
public ConnectException(String s, Exception ex)

Constructs a ConnectException with the specified detail message and nested exception.

Parameters
s:String

the detail message

ex:Exception

the nested exception

Since
1.1