com.atlassian.confluence.content.render.xhtml
Class XhtmlTimeoutException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
com.atlassian.confluence.content.render.xhtml.XhtmlException
              
com.atlassian.confluence.content.render.xhtml.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:
 - Serialized Form
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
forTimeout
public static XhtmlTimeoutException forTimeout(com.atlassian.util.concurrent.Timeout timeout)
 
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()
 
Copyright © 2003-2012 Atlassian. All Rights Reserved.