org.openrdf.repository
Class RepositoryLockedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openrdf.OpenRDFException
org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryLockedException
- All Implemented Interfaces:
- Serializable
public class RepositoryLockedException
- extends RepositoryException
Indicates that a Repository cannot be initialised because the configured
persisted location is locked.
- Author:
- James Leigh
- See Also:
- Serialized Form
|
Method Summary |
String |
getLockedBy()
Returns the name representing the Java virtual machine that acquired the
lock. |
String |
getRequestedBy()
Returns the name representing the Java virtual machine that requested the
lock. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RepositoryLockedException
public RepositoryLockedException(String lockedBy,
String requestedBy,
String msg,
Throwable t)
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.
Copyright © 2001-2012 Aduna. All Rights Reserved.