Serializable
public class LockFailedException extends IOException
Constructor | 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
|
Modifier and Type | Method | Description |
---|---|---|
File |
getFile() |
Get the file that could not be locked
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 © 2018. All rights reserved.