org.exolab.core.foundation
Class FailedToAcquireLocksException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.exolab.core.foundation.FailedToAcquireLocksException
All Implemented Interfaces:
java.io.Serializable

public class FailedToAcquireLocksException
extends java.lang.Exception

This excpetion is thrown whenever the lock service fails to acquire one or more locks.

Version:
$Revision: 1.1 $ $Date: 2000/02/22 07:37:55 $
Author:
Jim Alateras
See Also:
Serialized Form

Constructor Summary
FailedToAcquireLocksException()
          Default constructor with no additional info.
FailedToAcquireLocksException(java.lang.String reason)
          Construct an instance of this exception with the specified reason.
 
Method Summary
 void addObject(PersistentObject obj)
          Add a reference to the PersistentObject object whose lock the service could not release
 java.util.Enumeration getFailedObjects()
          Retrieve an enumeration of the failed PesistentObject objects ehose locks were not released
 java.lang.String toString()
          Return a string representation of this exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FailedToAcquireLocksException

public FailedToAcquireLocksException()
Default constructor with no additional info.


FailedToAcquireLocksException

public FailedToAcquireLocksException(java.lang.String reason)
Construct an instance of this exception with the specified reason.

Parameters:
reason -
Method Detail

addObject

public void addObject(PersistentObject obj)
Add a reference to the PersistentObject object whose lock the service could not release

Parameters:
obj - locked object

getFailedObjects

public java.util.Enumeration getFailedObjects()
Retrieve an enumeration of the failed PesistentObject objects ehose locks were not released


toString

public java.lang.String toString()
Return a string representation of this exception

Returns:
String


Copyright © 1999-2005 The Exolab Group. All Rights Reserved.