java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.InterruptedIOException
org.xnio.channels.WriteTimeoutException
- All Implemented Interfaces:
Serializable
Thrown when a blocking write operation times out.
- See Also:
-
Field Summary
Fields inherited from class java.io.InterruptedIOException
bytesTransferred
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aWriteTimeoutException
with no detail message.Constructs aWriteTimeoutException
with the specified detail message.WriteTimeoutException
(String msg, Throwable cause) Constructs aWriteTimeoutException
with the specified detail message and cause.WriteTimeoutException
(Throwable cause) Constructs aWriteTimeoutException
with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WriteTimeoutException
public WriteTimeoutException()Constructs aWriteTimeoutException
with no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause
. -
WriteTimeoutException
Constructs aWriteTimeoutException
with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause
.- Parameters:
msg
- the detail message
-
WriteTimeoutException
Constructs aWriteTimeoutException
with the specified cause. The detail message is set to:(cause == null ? null : cause.toString())
(which typically contains the class and detail message ofcause
).- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method)
-
WriteTimeoutException
Constructs aWriteTimeoutException
with the specified detail message and cause.- Parameters:
msg
- the detail messagecause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method)
-