StoreLockedException

constructor(message: String, directory: Path?, holder: LockHolder?, cause: Throwable? = null)


constructor(message: String, cause: Throwable? = null)

Deprecated

A lock failure now reports the directory it failed on and, where the lock file says so, which process holds it. Nothing in the engine constructs this form.

Replace with

StoreLockedException(message, directory, holder = null, cause)