public class LockFailedException extends IOException
| Constructor and Description | 
|---|
LockFailedException(File file)
Construct a CannotLockException for the given file 
 | 
LockFailedException(File file,
                   String message)
Construct a CannotLockException for the given file and message 
 | 
LockFailedException(File file,
                   String message,
                   Throwable cause)
Constructor for LockFailedException 
 | 
| Modifier and Type | Method and Description | 
|---|---|
File | 
getFile()
Get the file that could not be locked 
 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LockFailedException(File file, String message, Throwable cause)
file - file that could not be lockedmessage - exception messagecause - cause, for later retrieval by
            Throwable.getCause()public LockFailedException(File file, String message)
file - file that could not be lockedmessage - exception messagepublic LockFailedException(File file)
file - file that could not be lockedpublic File getFile()
Copyright © 2021 Eclipse JGit Project. All rights reserved.