public class UnknownHostException extends RemoteException
java.net.UnknownHostException
时发生
UnknownHostException
则抛出
java.net.UnknownHostException
。
detail
Constructor and Description |
---|
UnknownHostException(String s)
构造具有
UnknownHostException 详细消息的UnknownHostException。
|
UnknownHostException(String s, 异常 ex)
构造具有
UnknownHostException 的详细信息和嵌套异常的UnknownHostException。
|
getCause, getMessage
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnknownHostException(String s)
UnknownHostException
详细消息的UnknownHostException。
s
- 详细信息
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.