public class XhtmlTimeoutException extends XhtmlException
Modifier and Type | Method and Description |
---|---|
static XhtmlTimeoutException |
createForTimeout(io.atlassian.util.concurrent.Timeout timeout) |
static XhtmlTimeoutException |
forTimeout(com.atlassian.util.concurrent.Timeout timeout)
Deprecated.
since 7.0.1. Use
createForTimeout(Timeout) |
long |
getAllowedTimeInSeconds() |
String |
getDetailedTimeoutMessage()
Gives a detailed message containing both the allowed time and the time that passed before the
timeout was checked.
|
String |
getDetailedTimeoutMessage(String operation)
Gives a detailed message containing both the allowed time and the time that passed before the
timeout was checked.
|
long |
getExceededTimeInMilliseconds() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Deprecated public static XhtmlTimeoutException forTimeout(com.atlassian.util.concurrent.Timeout timeout)
createForTimeout(Timeout)
public static XhtmlTimeoutException createForTimeout(io.atlassian.util.concurrent.Timeout timeout)
public String getDetailedTimeoutMessage()
public String getDetailedTimeoutMessage(String operation)
operation
- the operation that timed outpublic long getAllowedTimeInSeconds()
public long getExceededTimeInMilliseconds()
Copyright © 2003–2019 Atlassian. All rights reserved.