org.xlattice
Class TimeoutException

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.xlattice.TimeoutException
All Implemented Interfaces:
java.io.Serializable

public class TimeoutException
extends java.io.InterruptedIOException

Thrown to indicate that an I/O operation was interrupted, more specifically that it timed out. The bytesTransferred field may indicate how many bytes were successfully transferred before the interrupt occurred. An indirect subclass of java.io.IOException.

See Also:
Serialized Form

Field Summary
 int bytesTransferred
          How many bytes were transferred by the I/O operation before the interrupt occurred.
 
Constructor Summary
TimeoutException()
          Constructs a TimeoutException with a null detail message.
TimeoutException(java.lang.String msg)
          Constructs a TimeoutException with a detail message which may later be retrieved by Throwable.getMessage().
 
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
 

Field Detail

bytesTransferred

public int bytesTransferred
How many bytes were transferred by the I/O operation before the interrupt occurred.

Constructor Detail

TimeoutException

public TimeoutException()
Constructs a TimeoutException with a null detail message.


TimeoutException

public TimeoutException(java.lang.String msg)
Constructs a TimeoutException with a detail message which may later be retrieved by Throwable.getMessage().

Parameters:
msg - the detail message