java.net
Class SocketException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.SocketException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BindException, ConnectException, NoRouteToHostException, PortUnreachableException
public class SocketException
- extends IOException
This SocketException may be thrown during socket
creation or setting options, and is the superclass
of all other socket related exceptions.
- See Also:
- Serialized Form
|
Constructor Summary |
SocketException()
Constructs a new instance of this class with its
walkback filled in. |
SocketException(String detailMessage)
Constructs a new instance of this class with its
walkback and message filled in. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SocketException
public SocketException()
- Constructs a new instance of this class with its
walkback filled in.
SocketException
public SocketException(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.
Licensed Materials - Property of IBM
© Copyright IBM Corp. 2006, 2008 All Rights Reserved.