KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > je > LockNotGrantedException


1 /*
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002,2006 Oracle. All rights reserved.
5  *
6  * $Id: LockNotGrantedException.java,v 1.6 2006/10/30 21:14:12 bostic Exp $
7  */

8
9 package com.sleepycat.je;
10
11 /**
12  * Javadoc for this public class is generated
13  * via the doc templates in the doc_src directory.
14  */

15 public class LockNotGrantedException extends DeadlockException {
16
17     /*
18      * LockNotGrantedException extends DeadlockException in order to
19      * support the approach that all application need only handle
20      * DeadlockException. The idea is that we don't want an
21      * application to fail because a new type of exception is thrown
22      * when an operation is changed to non-blocking.
23      *
24      * Applications that care about LockNotGrantedExceptions can
25      * add another catch block to handle it, but otherwise they
26      * can be handled the same way as deadlocks.
27      * See SR [#10672]
28      */

29
30     public LockNotGrantedException() {
31     super();
32     }
33
34     public LockNotGrantedException(Throwable JavaDoc t) {
35         super(t);
36     }
37
38     public LockNotGrantedException(String JavaDoc message) {
39     super(message);
40     }
41
42     public LockNotGrantedException(String JavaDoc message, Throwable JavaDoc t) {
43         super(message, t);
44     }
45 }
46
Popular Tags