- 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
如果连接拒绝远程主机进行远程方法调用,则抛出ConnectException
。- 从以下版本开始:
- 1.1
- 另请参见:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.RemoteException
detail
-
-
构造方法摘要
构造方法 Constructor 描述 ConnectException(String s)
构造具有指定详细消息的ConnectException
。ConnectException(String s, 异常 ex)
构造具有指定的详细消息和嵌套异常的ConnectException
。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-