org.exolab.castor.jdo

Class LockNotGrantedException

Known Direct Subclasses:
ObjectDeletedWaitingForLockException

public class LockNotGrantedException
extends PersistenceException

Exception thrown when failed to acquire a lock on an object, a timeout occured waiting to acquire the lock, or a deadlock has been detected.
Version:
$Revision: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Author:
Assaf Arkin

Constructor Summary

LockNotGrantedException(String message)
Creates a new CastorException with the given message.
LockNotGrantedException(String message, Throwable exception)
Creates a new CastorException with the given message and cause.

Method Summary

Methods inherited from class org.exolab.castor.core.exceptions.CastorException

getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace

Constructor Details

LockNotGrantedException

public LockNotGrantedException(String message)
Creates a new CastorException with the given message.
Parameters:
message - the message for this Exception

LockNotGrantedException

public LockNotGrantedException(String message,
                               Throwable exception)
Creates a new CastorException with the given message and cause.
Parameters:
message - The message for this exception.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com