From f67af7588ba1f7827bc6ff907729d14bf39a19f6 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Wed, 04 Jun 2008 17:24:01 +0000
Subject: [PATCH] Fix for issues 3255, 3265, and 3269:

---
 opends/src/server/org/opends/server/backends/jeb/SortValuesSet.java |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/opends/src/server/org/opends/server/backends/jeb/SortValuesSet.java b/opends/src/server/org/opends/server/backends/jeb/SortValuesSet.java
index 8fd9d1b..5b3ae59 100644
--- a/opends/src/server/org/opends/server/backends/jeb/SortValuesSet.java
+++ b/opends/src/server/org/opends/server/backends/jeb/SortValuesSet.java
@@ -102,10 +102,9 @@
    * otherwise.
    * @throws DirectoryException If a Directory Server error occurs.
    * @throws DatabaseException If an error occurs in the JE database.
-   * @throws JebException If an error occurs in the JE database.
    */
   public boolean add(long entryID, AttributeValue[] values)
-      throws JebException, DatabaseException, DirectoryException
+      throws DatabaseException, DirectoryException
   {
     if(values == null)
     {
@@ -223,10 +222,9 @@
    * otherwise.
    * @throws DirectoryException If a Directory Server error occurs.
    * @throws DatabaseException If an error occurs in the JE database.
-   * @throws JebException If an error occurs in the JE database.
    */
   public boolean remove(long entryID, AttributeValue[] values)
-      throws JebException, DatabaseException, DirectoryException
+      throws DatabaseException, DirectoryException
   {
     if(entryIDs == null || entryIDs.length == 0)
     {
@@ -416,10 +414,9 @@
    * if it is found or a negative index if its not found.
    * @throws DirectoryException If a Directory Server error occurs.
    * @throws DatabaseException If an error occurs in the JE database.
-   * @throws JebException If an error occurs in the JE database.
    */
   int binarySearch(long entryID, AttributeValue[] values)
-      throws JebException, DatabaseException, DirectoryException
+      throws DatabaseException, DirectoryException
   {
     if(entryIDs == null || entryIDs.length == 0)
     {
@@ -509,10 +506,9 @@
    * the database or NULL if this set is empty.
    * @throws DirectoryException If a Directory Server error occurs.
    * @throws DatabaseException If an error occurs in the JE database.
-   * @throws JebException If an error occurs in the JE database.
    */
   public byte[] getKeyBytes()
-      throws JebException, DatabaseException, DirectoryException
+      throws DatabaseException, DirectoryException
   {
     if(entryIDs == null || entryIDs.length == 0)
     {
@@ -550,10 +546,9 @@
    * the database or NULL if this set is empty or unbounded.
    * @throws DirectoryException If a Directory Server error occurs.
    * @throws DatabaseException If an error occurs in the JE database.
-   * @throws JebException If an error occurs in the JE database.
    */
   public SortValues getKeySortValues()
-      throws JebException, DatabaseException, DirectoryException
+      throws DatabaseException, DirectoryException
   {
     if(entryIDs == null || entryIDs.length == 0)
     {
@@ -656,10 +651,9 @@
    * @return The byte array representation of the attribute value.
    * @throws DirectoryException If a Directory Server error occurs.
    * @throws DatabaseException If an error occurs in the JE database.
-   * @throws JebException If an error occurs in the JE database.
    */
   public byte[] getValue(int index)
-      throws JebException, DatabaseException, DirectoryException
+      throws DatabaseException, DirectoryException
   {
     if(valuesBytesOffsets == null)
     {

--
Gitblit v1.10.0