Most visited

Recently visited

Added in API level 1

SocketException

public class SocketException
extends IOException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.net.SocketException
Known Direct Subclasses


抛出以指示创建或访问套接字时发生错误。

Summary

Public constructors

SocketException(String msg)

用指定的详细信息构造一个新的 SocketException

SocketException()

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

Inherited methods

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

Public constructors

SocketException

Added in API level 1
SocketException (String msg)

用指定的详细信息构造一个新的 SocketException

Parameters
msg String: the detail message.

SocketException

Added in API level 1
SocketException ()

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

Hooray!