java.net
Class SocketTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.InterruptedIOException
java.net.SocketTimeoutException
- All Implemented Interfaces:
- Serializable
public class SocketTimeoutException
- extends InterruptedIOException
This exception signals that a socket read or accept timed out.
- Since:
- 1.4
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SocketTimeoutException
public SocketTimeoutException()
- Create a new instance without a descriptive error message.
SocketTimeoutException
public SocketTimeoutException(String message)
- Create a new instance with a descriptive error message.
- Parameters:
message
- a message describing the error that occurred