[bdbxml] lock not granted exception

Michael Allman <[email protected]>
Newsgroups gmane.comp.db.dbxml.general
Message-ID <20050731144618.O80605@yvyyl>
Hello,

I'd like to reliably detect when a transaction lock was not granted for an 
XmlContainer operation performed with a transaction instance configured 
not to wait on locks.

Currently, what I get is an XmlException with an errorCode of 
XmlException.DATABASE_ERROR and a helpful message.  Still, could you 
initialize the thrown XmlException so that getDatabaseException() returns 
an instance of com.sleepycat.db.LockNotGrantedException?  I think that 
would be definitive.

Thanks.

Michael


------------------------------------------
To remove yourself from this list, send an
email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.