Class LockTimeoutException

java.lang.Object
java.lang.Throwable
java.lang.Exception
tech.oxfordsemantic.jrdfox.exceptions.JRDFoxException
tech.oxfordsemantic.jrdfox.exceptions.LockTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class LockTimeoutException
extends JRDFoxException
This exception is thrown when a lock on a data store must be acquired in order to fulfil a request, but the lock acquisition times out. The timeout interval is determined using the DataStoreConnection.setLockTimeout(long) method. Lock acquisition is typically required when starting a transaction, either explicitly or implicitly as part of fulfilling a user's request. In some rare cases this exception can also be thrown then performing an operation inside an interruptible read-only transaction.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    LockTimeoutException()  
    LockTimeoutException​(java.lang.String message)  
    LockTimeoutException​(java.lang.String message, java.lang.Throwable cause)  
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait