FileLockInterruptionException

  • FileLockInterruptionException signals that a thread acquiring a file lock was interrupted by another thread.

  • It's a checked exception, meaning it must be declared or handled in the method where it might occur.

  • Before the exception is thrown, the interrupted thread's interrupt status is set.

  • It provides a single public constructor with no arguments to create an instance of the exception.

  • It inherits methods from IOException and Throwable for handling and inspecting the exception.

public class FileLockInterruptionException extends IOException

Checked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock. Before this exception is thrown the interrupt status of the previously-blocked thread will have been set.

Public Constructor Summary

FileLockInterruptionException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public FileLockInterruptionException ()

Constructs an instance of this class.