java.io.Serializablepublic class TimeoutException
extends java.lang.InterruptedException
| Modifier and Type | Field | Description |
|---|---|---|
long |
duration |
The approximate time that the operation lasted before
this timeout exception was thrown.
|
| Constructor | Description |
|---|---|
TimeoutException(long time) |
Constructs a TimeoutException with given duration value.
|
TimeoutException(long time,
java.lang.String message) |
Constructs a TimeoutException with the
specified duration value and detail message.
|