public class

XhtmlTimeoutException

extends XhtmlException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.atlassian.confluence.content.render.xhtml.XhtmlException
         ↳ com.atlassian.confluence.content.render.xhtml.XhtmlTimeoutException

Class Overview

A checked exception indicating that an Xhtml Conversion has exceeded its allocated time limit.

Summary

Public Methods
static XhtmlTimeoutException forTimeout(Timeout timeout)
long getAllowedTimeInSeconds()
String getDetailedTimeoutMessage(String operation)
Gives a detailed message containing both the allowed time and the time that passed before the timeout was checked.
String getDetailedTimeoutMessage()
Gives a detailed message containing both the allowed time and the time that passed before the timeout was checked.
long getExceededTimeInMilliseconds()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Methods

public static XhtmlTimeoutException forTimeout (Timeout timeout)

public long getAllowedTimeInSeconds ()

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

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.

public long getExceededTimeInMilliseconds ()