public class ConnectException extends RemoteException
ConnectException
如果连接被拒绝的远程方法调用远程主机被抛出。
detail
Constructor and Description |
---|
ConnectException(String s)
构造具有
ConnectException 的详细消息的ConnectException。
|
ConnectException(String s, 异常 ex)
构造具有
ConnectException 的详细消息和嵌套异常的ConnectException。
|
getCause, getMessage
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.