public class DeadlineTimeoutException extends TimeoutException
TimeoutException that carries a deadline and an actual value, both as UNIX times.| Modifier and Type | Method and Description | 
|---|---|
| static DeadlineTimeoutException | from(Deadline deadline)Creates a new exception for the given timeout deadline and actual timeout. | 
| Deadline | getDeadline()The expected deadline for this timeout since the start of UNIX time. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static DeadlineTimeoutException from(Deadline deadline)
deadline - When was the deadline in UNIX time.public Deadline getDeadline()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.