public class XhtmlTimeoutException extends XhtmlException
Modifier and Type | Method and Description |
---|---|
static XhtmlTimeoutException |
forTimeout(com.atlassian.util.concurrent.Timeout 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
public static XhtmlTimeoutException forTimeout(com.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–2017 Atlassian. All rights reserved.