public class

ConnectException

extends RemoteException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.rmi.RemoteException
           ↳ java.rmi.ConnectException

Class Overview

A ConnectException is thrown if a connection is refused to the remote host for a remote method call.

Summary

[Expand]
Inherited Fields
From class java.rmi.RemoteException
Public Constructors
ConnectException(String s)
Constructs a ConnectException with the specified detail message.
ConnectException(String s, Exception ex)
Constructs a ConnectException with the specified detail message and nested exception.
[Expand]
Inherited Methods
From class java.rmi.RemoteException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ConnectException (String s)

Constructs a ConnectException with the specified detail message.

Parameters
s the detail message

public ConnectException (String s, Exception ex)

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

Parameters
s the detail message
ex the nested exception