Class FileLockedException

All Implemented Interfaces:
Serializable

public class FileLockedException extends ExceptionWithContext
Exception thrown whenever a locked file should be modified or locked/unlocked by a user that does not hold the lock.
Since:
2.26.0
See Also:
  • Constructor Details

    • FileLockedException

      public FileLockedException(NamespaceAndName namespaceAndName, FileLock lock)
      Creates the exception.
      Parameters:
      namespaceAndName - The namespace and name of the repository.
      lock - The lock causing this exception.
    • FileLockedException

      public FileLockedException(NamespaceAndName namespaceAndName, FileLock lock, String additionalMessage)
      Creates the exception with an additional message.
      Parameters:
      namespaceAndName - The namespace and name of the repository.
      lock - The lock causing this exception.
      additionalMessage - An additional message that will be appended to the default message.
  • Method Details