org.entityfs.exception
Class LockTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.entityfs.support.exception.FileSystemException
                  extended by org.entityfs.exception.LockTimeoutException
All Implemented Interfaces:
Serializable

public class LockTimeoutException
extends FileSystemException

This exception is thrown when the operation trying to acquire a lock timed out. If this can be thrown depends on the LockAcquiringStrategy.

Since:
1.0
Author:
Karl Gustafsson
See Also:
Serialized Form

Constructor Summary
LockTimeoutException(String msg)
           
LockTimeoutException(String msg, List<StackTraceElement[]> lockStack)
           
 
Method Summary
 List<StackTraceElement[]> getLockStack()
           
 void setEntity(Object o)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LockTimeoutException

public LockTimeoutException(String msg)

LockTimeoutException

public LockTimeoutException(String msg,
                            List<StackTraceElement[]> lockStack)
Method Detail

setEntity

public void setEntity(Object o)

getLockStack

public List<StackTraceElement[]> getLockStack()

toString

public String toString()
Overrides:
toString in class Throwable