|
XNIO API 3.1.0.Beta1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException java.io.InterruptedIOException org.xnio.channels.ReadTimeoutException
public class ReadTimeoutException
Thrown when a blocking read operation times out.
Field Summary |
---|
Fields inherited from class java.io.InterruptedIOException |
---|
bytesTransferred |
Constructor Summary | |
---|---|
ReadTimeoutException()
Constructs a ReadTimeoutException with no detail message. |
|
ReadTimeoutException(String msg)
Constructs a ReadTimeoutException with the specified detail message. |
|
ReadTimeoutException(String msg,
Throwable cause)
Constructs a ReadTimeoutException with the specified detail message and cause. |
|
ReadTimeoutException(Throwable cause)
Constructs a ReadTimeoutException with the specified cause. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReadTimeoutException()
ReadTimeoutException
with no detail message. The cause is not initialized, and may subsequently
be initialized by a call to initCause
.
public ReadTimeoutException(String msg)
ReadTimeoutException
with the specified detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause
.
msg
- the detail messagepublic ReadTimeoutException(Throwable cause)
ReadTimeoutException
with the specified cause. The detail message is set to:
(cause == null ? null : cause.toString())(which typically contains the class and detail message of
cause
).
cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)public ReadTimeoutException(String msg, Throwable cause)
ReadTimeoutException
with the specified detail message and cause.
msg
- the detail messagecause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)
|
XNIO API 3.1.0.Beta1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |