java.net
Class BindException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.SocketException
java.net.BindException
- All Implemented Interfaces:
- java.io.Serializable
- public class BindException
- extends SocketException
This exception indicates that an error occurred while attempting to bind
socket to a particular port.
- Since:
- 1.1
| Nested classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Throwable |
|
|
Constructor Summary |
BindException()
Create a new instance without a descriptive error message. |
BindException(java.lang.String message)
Create a new instance with a descriptive error message, such as the
text from strerror(3). |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- Compatible with JDK 1.1+.
- See Also:
- Constant Field Values
BindException
public BindException()
- Create a new instance without a descriptive error message.
BindException
public BindException(java.lang.String message)
- Create a new instance with a descriptive error message, such as the
text from strerror(3).