Class XhtmlTimeoutException

All Implemented Interfaces:
Serializable

public class XhtmlTimeoutException extends XhtmlException
A checked exception indicating that an Xhtml Conversion has exceeded its allocated time limit.
See Also:
  • Method Details

    • createForTimeout

      public static XhtmlTimeoutException createForTimeout(io.atlassian.util.concurrent.Timeout timeout)
      Since:
      7.0.1
    • getDetailedTimeoutMessage

      public String getDetailedTimeoutMessage()
      Gives a detailed message containing both the allowed time and the time that passed before the timeout was checked. This is useful for debugging but confusing for users.
    • getDetailedTimeoutMessage

      public String getDetailedTimeoutMessage(String operation)
      Gives a detailed message containing both the allowed time and the time that passed before the timeout was checked. This is useful for debugging but confusing for users.
      Parameters:
      operation - the operation that timed out
    • getAllowedTimeInSeconds

      public long getAllowedTimeInSeconds()
    • getExceededTimeInMilliseconds

      public long getExceededTimeInMilliseconds()