FileDocCategorySizeDatePackage
LockException.javaAPI DocExample837Sat Feb 01 06:59:26 GMT 1997imaginary.persist

LockException

public class LockException extends Exception
This exception gets thrown whenever a method encounters lock conflicts or network failures that cause a lock to fail.

Fields Summary
Constructors Summary
public LockException()
Constructs a new lock exception with no reason.

        this("An exception for no reason whatsoever.");
    
public LockException(String reason)
Constructs a lock exception for the reason specified.

param
reason the reason for the exception

        super(reason);
    
public LockException(Exception e)
Constructs a lock exception caused by another exception.

param
e the cause of the exception

        this("A lock exception caused by: " + e.getMessage());
    
Methods Summary