public class LockFailedException
extends java.io.IOException
Modifier and Type | Field and Description |
---|---|
private java.io.File |
file |
private static long |
serialVersionUID |
Constructor and Description |
---|
LockFailedException(java.io.File file)
Construct a CannotLockException for the given file
|
LockFailedException(java.io.File file,
java.lang.String message)
Construct a CannotLockException for the given file and message
|
LockFailedException(java.io.File file,
java.lang.String message,
java.lang.Throwable cause)
Constructor for LockFailedException
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile()
Get the file that could not be locked
|
private static final long serialVersionUID
private java.io.File file
public LockFailedException(java.io.File file, java.lang.String message, java.lang.Throwable cause)
file
- file that could not be lockedmessage
- exception messagecause
- cause, for later retrieval by
Throwable.getCause()
public LockFailedException(java.io.File file, java.lang.String message)
file
- file that could not be lockedmessage
- exception messagepublic LockFailedException(java.io.File file)
file
- file that could not be locked