Package 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 is thrown when a timeout expired on a socketreadoracceptoperation.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.io.InterruptedIOException
bytesTransferred
-
-
Constructor Summary
Constructors Constructor Description SocketTimeoutException()Constructs a new instance.SocketTimeoutException(String detailMessage)Constructs a new instance with the given detail message.SocketTimeoutException(String detailMessage, Throwable cause)Constructs a new instance with given detail message and cause.SocketTimeoutException(Throwable cause)Constructs a new instance with given cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SocketTimeoutException
public SocketTimeoutException()
Constructs a new instance.
-
SocketTimeoutException
public SocketTimeoutException(String detailMessage)
Constructs a new instance with the given detail message.
-
SocketTimeoutException
public SocketTimeoutException(Throwable cause)
Constructs a new instance with given cause.
-
-