public class TimeoutException extends InterruptedException
Modifier and Type | Field and Description |
---|---|
long |
duration
The approximate time that the operation lasted before
this timeout exception was thrown.
|
Constructor and Description |
---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public final long duration
public TimeoutException(long time)
public TimeoutException(long time, String message)
Copyright © 2002–2024. All rights reserved.