- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.io.InterruptedIOException
-
- org.xnio.channels.WriteTimeoutException
-
- All Implemented Interfaces:
java.io.Serializable
public class WriteTimeoutException extends java.io.InterruptedIOException
Thrown when a blocking write operation times out.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WriteTimeoutException()
Constructs aWriteTimeoutException
with no detail message.WriteTimeoutException(java.lang.String msg)
Constructs aWriteTimeoutException
with the specified detail message.WriteTimeoutException(java.lang.String msg, java.lang.Throwable cause)
Constructs aWriteTimeoutException
with the specified detail message and cause.WriteTimeoutException(java.lang.Throwable cause)
Constructs aWriteTimeoutException
with the specified cause.
-
-
-
Constructor Detail
-
WriteTimeoutException
public WriteTimeoutException()
Constructs aWriteTimeoutException
with no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause
.
-
WriteTimeoutException
public WriteTimeoutException(java.lang.String msg)
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
public WriteTimeoutException(java.lang.Throwable cause)
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
public WriteTimeoutException(java.lang.String msg, java.lang.Throwable cause)
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)
-
-