Package dev.gmitch215.bytebox.net
Class SocketTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.InterruptedIOException
dev.gmitch215.bytebox.net.SocketTimeoutException
- All Implemented Interfaces:
Serializable
A read ran out of time, standing in for
java.net.SocketTimeoutException.
Absent from the class library, and supplied because a library that reads from a socket catches
it. Nothing here throws it from a socket read: there is no readable clock inside a request to time a
read against, which Socket.setSoTimeout(int) records. An HTTP request does have a deadline, and
that one the platform enforces.
- Since:
- 1.0.0
- See Also:
-
Field Summary
Fields inherited from class java.io.InterruptedIOException
bytesTransferred -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SocketTimeoutException
public SocketTimeoutException()With no message. -
SocketTimeoutException
- Parameters:
message- what ran out of time
-