XNIO API 2.1.0.CR2

org.jboss.xnio.channels
Class WriteTimeoutException

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.jboss.xnio.channels.WriteTimeoutException
All Implemented Interfaces:
Serializable

public class WriteTimeoutException
extends InterruptedIOException

Thrown when a blocking write operation times out.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.InterruptedIOException
bytesTransferred
 
Constructor Summary
WriteTimeoutException()
          Constructs a WriteTimeoutException with no detail message.
WriteTimeoutException(String msg)
          Constructs a WriteTimeoutException with the specified detail message.
WriteTimeoutException(String msg, Throwable cause)
          Constructs a WriteTimeoutException with the specified detail message and cause.
WriteTimeoutException(Throwable cause)
          Constructs a WriteTimeoutException 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

WriteTimeoutException

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


WriteTimeoutException

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

WriteTimeoutException

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

WriteTimeoutException

public WriteTimeoutException(String msg,
                             Throwable cause)
Constructs a WriteTimeoutException 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 2.1.0.CR2

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