java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
java.rmi.ConnectException
- All Implemented Interfaces:
- Serializable
public class ConnectException extends RemoteException
A 
ConnectException is thrown if a connection is refused
 to the remote host for a remote method call.- Since:
- 1.1
- See Also:
- Serialized Form
- 
Field Summary
- 
Constructor SummaryConstructors Constructor Description ConnectException(String s)Constructs aConnectExceptionwith the specified detail message.ConnectException(String s, Exception ex)Constructs aConnectExceptionwith the specified detail message and nested exception.
- 
Method SummaryMethods declared in class java.lang.ThrowableaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ConnectExceptionConstructs aConnectExceptionwith the specified detail message.- Parameters:
- s- the detail message
- Since:
- 1.1
 
- 
ConnectExceptionConstructs aConnectExceptionwith the specified detail message and nested exception.- Parameters:
- s- the detail message
- ex- the nested exception
- Since:
- 1.1
 
 
-