Top Description Fields Constructors
org.xnio.channels

public Class WriteTimeoutException

extends InterruptedIOException
Class Inheritance
Imports
java.io.InterruptedIOException

Thrown when a blocking write operation times out.

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from java.io.InterruptedIOException:
bytesTransferred

Constructor Summary

AccessConstructor and Description
public
WriteTimeoutException()

Constructs a WriteTimeoutException with no detail message.

public
WriteTimeoutException(final String
the detail message
msg
)

Constructs a WriteTimeoutException with the specified detail message.

public
WriteTimeoutException(final Throwable
the cause (which is saved for later retrieval by the getCause() method)
cause
)

Constructs a WriteTimeoutException with the specified cause.

public
WriteTimeoutException(final String
the detail message
msg
,
final Throwable
the cause (which is saved for later retrieval by the getCause() method)
cause
)

Constructs a WriteTimeoutException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.InterruptedIOException.serialVersionUID.

Constructor Detail

WriteTimeoutExceptionback to summary
public WriteTimeoutException()

Constructs a WriteTimeoutException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

WriteTimeoutExceptionback to summary
public WriteTimeoutException(final String msg)

Constructs a WriteTimeoutException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

Parameters
msg:String

the detail message

WriteTimeoutExceptionback to summary
public WriteTimeoutException(final Throwable cause)

Constructs a WriteTimeoutException 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).
Parameters
cause:Throwable

the cause (which is saved for later retrieval by the getCause() method)

WriteTimeoutExceptionback to summary
public WriteTimeoutException(final String msg, final Throwable cause)

Constructs a WriteTimeoutException with the specified detail message and cause.

Parameters
msg:String

the detail message

cause:Throwable

the cause (which is saved for later retrieval by the getCause() method)