OverlappingFileLockException

  • OverlappingFileLockException is an unchecked exception signaling an attempt to lock an already locked file region within the same JVM or when another thread is waiting for an overlapping lock.

  • This exception is thrown when attempting to acquire a lock on a file region that overlaps with a region already locked by the same Java virtual machine.

  • It's also thrown if another thread is already waiting to acquire a lock on an overlapping region of the same file.

  • The exception provides a public constructor with no arguments to create an instance.

  • OverlappingFileLockException inherits methods from IllegalStateException, Throwable, and Object for exception handling and object management.

public class OverlappingFileLockException extends IllegalStateException

Unchecked exception thrown when an attempt is made to acquire a lock on a region of a file that overlaps a region already locked by the same Java virtual machine, or when another thread is already waiting to lock an overlapping region of the same file.

Public Constructor Summary

OverlappingFileLockException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public OverlappingFileLockException ()

Constructs an instance of this class.