加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090228222040/http://developer.android.com:80/reference/java/net/BindException.html
public class

BindException

extends SocketException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.net.SocketException
           ↳ java.net.BindException

Class Overview

A BindException is thrown when a process cannot bind a local address/port, either because it is already bound or reserved by the OS.

Summary

Public Constructors
BindException()
Constructs a new instance of this class with its walkback filled in.
BindException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public BindException ()

Constructs a new instance of this class with its walkback filled in.

public BindException (String detailMessage)

Constructs a new instance of this class with its walkback and message filled in.

Parameters
detailMessage String The detail message for the exception.