Most visited

Recently visited

Added in API level 1

PortUnreachableException

public class PortUnreachableException
extends SocketException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.net.SocketException
           ↳ java.net.PortUnreachableException


表示在连接的数据报上收到ICMP端口不可达消息。

Summary

Public constructors

PortUnreachableException(String msg)

用详细消息构造一个新的 PortUnreachableException

PortUnreachableException()

构造一个没有详细信息的新的 PortUnreachableException

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

PortUnreachableException

Added in API level 1
PortUnreachableException (String msg)

用详细消息构造一个新的 PortUnreachableException

Parameters
msg String: the detail message

PortUnreachableException

Added in API level 1
PortUnreachableException ()

构造一个没有详细信息的新的 PortUnreachableException

Hooray!