com.atlassian.confluence.diff
Class InterruptedDiffException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.atlassian.confluence.diff.DiffException
                  extended by com.atlassian.confluence.diff.InterruptedDiffException
All Implemented Interfaces:
Serializable

public class InterruptedDiffException
extends DiffException

Exception thrown when the diff timed out or failed, possibly in another thread.

See Also:
Serialized Form

Constructor Summary
InterruptedDiffException(ContentEntityObject leftContent, ContentEntityObject rightContent, int timeout)
           
InterruptedDiffException(String message, int timeout)
           
 
Method Summary
 int getTimeout()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterruptedDiffException

public InterruptedDiffException(ContentEntityObject leftContent,
                                ContentEntityObject rightContent,
                                int timeout)
Parameters:
timeout - - in milliseconds

InterruptedDiffException

public InterruptedDiffException(String message,
                                int timeout)
Method Detail

getTimeout

public int getTimeout()
Returns:
the timeout in milliseconds


Copyright © 2003–2015 Atlassian. All rights reserved.