public class TimeoutException extends InterruptedException
| 限定符和类型 | 字段和说明 |
|---|---|
long |
duration
The approximate time that the operation lasted before
this timeout exception was thrown.
|
| 构造器和说明 |
|---|
TimeoutException(long time)
Constructs a TimeoutException with given duration value.
|
TimeoutException(long time,
String message)
Constructs a TimeoutException with the
specified duration value and detail message.
|
public final long duration
public TimeoutException(long time)
public TimeoutException(long time,
String message)
Copyright © 2024. All rights reserved.