java.rmi
public class: ConnectException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
java.rmi.ConnectException
All Implemented Interfaces:
Serializable
A
ConnectException is thrown if a connection is refused
to the remote host for a remote method call.
- author:
Ann - Wollrath
- since:
JDK1.1 -
| Constructor: |
public ConnectException(String s) {
super(s);
}
Constructs a ConnectException with the specified
detail message. Parameters:
s - the detail message
- since:
JDK1.1 -
|
public ConnectException(String s,
Exception ex) {
super(s, ex);
}
Constructs a ConnectException with the specified
detail message and nested exception. Parameters:
s - the detail message
ex - the nested exception
- since:
JDK1.1 -
|
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |