Package org.eclipse.jgit.errors
Class LockFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.eclipse.jgit.errors.LockFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class LockFailedException extends java.io.IOException
An exception occurring when a file cannot be locked- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LockFailedException(java.io.File file)
Construct a CannotLockException for the given fileLockFailedException(java.io.File file, java.lang.String message)
Construct a CannotLockException for the given file and message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getFile()
Get the file that could not be locked
-
-
-
Constructor Detail
-
LockFailedException
public LockFailedException(java.io.File file, java.lang.String message)
Construct a CannotLockException for the given file and message- Parameters:
file
- file that could not be lockedmessage
- exception message
-
LockFailedException
public LockFailedException(java.io.File file)
Construct a CannotLockException for the given file- Parameters:
file
- file that could not be locked
-
-