org.openrdf.sail
Class SailLockedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openrdf.OpenRDFException
org.openrdf.sail.SailException
org.openrdf.sail.SailLockedException
- All Implemented Interfaces:
- Serializable
public class SailLockedException
- extends SailException
Indicates that a SAIL cannot be initialised because the configured persisted
location is locked.
- Author:
- James Leigh
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SailLockedException
public SailLockedException(String requestedBy)
SailLockedException
public SailLockedException(String lockedBy,
String requestedBy)
SailLockedException
public SailLockedException(String lockedBy,
String requestedBy,
LockManager manager)
getLockedBy
public String getLockedBy()
- Returns the name representing the Java virtual machine that acquired the
lock.
- Returns:
- the name representing the Java virtual machine that acquired the
lock.
getRequestedBy
public String getRequestedBy()
- Returns the name representing the Java virtual machine that requested the
lock.
- Returns:
- the name representing the Java virtual machine that requested the
lock.
getLockManager
public LockManager getLockManager()
- Returns:
- Returns the lock manager that failed to obtain a lock.
Copyright © 2001-2009 Aduna. All Rights Reserved.