Package org.eclipse.rdf4j.repository
Class RepositoryLockedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.rdf4j.common.exception.RDF4JException
-
- org.eclipse.rdf4j.repository.RepositoryException
-
- org.eclipse.rdf4j.repository.RepositoryLockedException
-
- All Implemented Interfaces:
java.io.Serializable
public class RepositoryLockedException extends RepositoryException
Indicates that a Repository cannot be initialised because the configured persisted location is locked.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
lockedBy
private java.lang.String
requestedBy
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description RepositoryLockedException(java.lang.String lockedBy, java.lang.String requestedBy, java.lang.String msg, java.lang.Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLockedBy()
Returns the name representing the Java virtual machine that acquired the lock.java.lang.String
getRequestedBy()
Returns the name representing the Java virtual machine that requested the lock.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
lockedBy
private final java.lang.String lockedBy
-
requestedBy
private final java.lang.String requestedBy
-
-
Method Detail
-
getLockedBy
public java.lang.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 java.lang.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.
-
-