Top Description Fields Constructors
org.xnio.channels

public Class ReadTimeoutException

extends InterruptedIOException
Class Inheritance
Imports
java.io.InterruptedIOException

Thrown when a blocking read 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
ReadTimeoutException()

Constructs a ReadTimeoutException with no detail message.

public
ReadTimeoutException(final String
the detail message
msg
)

Constructs a ReadTimeoutException with the specified detail message.

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

Constructs a ReadTimeoutException with the specified cause.

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

Constructs a ReadTimeoutException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.InterruptedIOException.serialVersionUID.

Constructor Detail

ReadTimeoutExceptionback to summary
public ReadTimeoutException()

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

ReadTimeoutExceptionback to summary
public ReadTimeoutException(final String msg)

Constructs a ReadTimeoutException 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

ReadTimeoutExceptionback to summary
public ReadTimeoutException(final Throwable cause)

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

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

ReadTimeoutExceptionback to summary
public ReadTimeoutException(final String msg, final Throwable cause)

Constructs a ReadTimeoutException 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)