Class 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
    • 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.
      • 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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • lockedBy

        private final java.lang.String lockedBy
      • requestedBy

        private final java.lang.String requestedBy
    • Constructor Detail

      • RepositoryLockedException

        public RepositoryLockedException​(java.lang.String lockedBy,
                                         java.lang.String requestedBy,
                                         java.lang.String msg,
                                         java.lang.Throwable t)
    • 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.