Class LockFailedException

    • Constructor Detail

      • LockFailedException

        public LockFailedException​(File file,
                                   String message,
                                   Throwable cause)
        Constructor for LockFailedException
        Parameters:
        file - file that could not be locked
        message - exception message
        cause - cause, for later retrieval by Throwable.getCause()
        Since:
        4.1
      • LockFailedException

        public LockFailedException​(File file,
                                   String message)
        Construct a CannotLockException for the given file and message
        Parameters:
        file - file that could not be locked
        message - exception message
      • LockFailedException

        public LockFailedException​(File file)
        Construct a CannotLockException for the given file
        Parameters:
        file - file that could not be locked
    • Method Detail

      • getFile

        public File getFile()
        Get the file that could not be locked
        Returns:
        file