org.xlattice
Class TimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.InterruptedIOException
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(). |
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 |
bytesTransferred
public int bytesTransferred
- How many bytes were transferred by the I/O operation before
the interrupt occurred.
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