From abbdffd7e86953f89c3469bcfc659d842fb785f6 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 09 Oct 2013 14:57:21 +0000
Subject: [PATCH] OPENDJ-1116 Introduce abstraction for the changelog DB

---
 opends/src/server/org/opends/server/replication/server/changelog/api/ReplicaDBCursor.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicaDBCursor.java b/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicaDBCursor.java
index 655de4a..562927e 100644
--- a/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicaDBCursor.java
+++ b/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicaDBCursor.java
@@ -51,8 +51,10 @@
    * Go to the next change in the ReplicaDB or in the server Queue.
    *
    * @return false if the cursor is already on the last change before this call.
+   * @throws ChangelogException
+   *           When database exception raised.
    */
-  boolean next();
+  boolean next() throws ChangelogException;
 
   /**
    * Release the resources and locks used by this cursor. This method must be

--
Gitblit v1.10.0