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 with its walkback filled in.
BindException(String detailMessage)
Constructs a new instance 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 with its walkback filled in.

public BindException (String detailMessage)

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

Parameters
detailMessage detail message of the exception.