KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > je > dbi > RangeRestartException


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

8
9 package com.sleepycat.je.dbi;
10
11 import com.sleepycat.je.DatabaseException;
12
13 /**
14  * Thrown by the LockManager when requesting a RANGE_READ or RANGE_WRITE
15  * lock, and a RANGE_INSERT lock is held or is waiting. This exception is
16  * caught by read operations and causes a restart of the operation. It should
17  * never be seen by the user.
18  */

19 public class RangeRestartException extends DatabaseException {
20
21     public RangeRestartException() {
22         super();
23     }
24 }
25
Popular Tags