Package org.dellroad.stuff.io
Class IdleTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.dellroad.stuff.io.IdleTimeoutException
- All Implemented Interfaces:
Serializable
Exception thrown by an
IdleTimeoutInputStream
when a read operation takes too long.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the idle timeout value that was exceeded to cause this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IdleTimeoutException
public IdleTimeoutException(long timeout)
-
-
Method Details
-
getTimeout
public long getTimeout()Get the idle timeout value that was exceeded to cause this exception.- Returns:
- idle timeout in milliseconds
-