XNIO API 3.1.0.Beta1

org.xnio.channels
Class ReadTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.io.InterruptedIOException
                  extended by org.xnio.channels.ReadTimeoutException
All Implemented Interfaces:
Serializable

public class ReadTimeoutException
extends InterruptedIOException

Thrown when a blocking read operation times out.

See Also:
Serialized Form

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

ReadTimeoutException

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


ReadTimeoutException

public ReadTimeoutException(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 - the detail message

ReadTimeoutException

public ReadTimeoutException(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 - the cause (which is saved for later retrieval by the Throwable.getCause() method)

ReadTimeoutException

public ReadTimeoutException(String msg,
                            Throwable cause)
Constructs a ReadTimeoutException with the specified detail message and cause.

Parameters:
msg - the detail message
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)

XNIO API 3.1.0.Beta1

Copyright © 2010 JBoss, a division of Red Hat, Inc.