Link Details

Link 1185295 thumbnail
User 1198527 avatar

By stathis.maneas
via examples.javacodegeeks.com
Published: Jul 25 2014 / 11:00

In this example we will discuss about BindException in Java. This exception is thrown to indicate that an error occurred when an application attempts to bind a socket to a local address and port. The main cause of this exception is that either the port is already in use, or the requested address cannot be assigned to the calling application. The BindException class extends the SocketException class, which is thrown to indicate an error while creating or accessing a Socket. In addition, the SocketException class extends the IOException class, which is used to indicate that an I/O exception has been occurred.
  • 6
  • 0
  • 124
  • 539

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java