Modified: directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/KeyTupleArrayCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/KeyTupleArrayCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/KeyTupleArrayCursor.java (original)
+++ directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/KeyTupleArrayCursor.java Sat Jul 6 06:56:22 2013
@@ -127,7 +127,7 @@ public class KeyTupleArrayCursor<K, V> e
* @param element the valueTuple who's value is used to position this Cursor
* @throws Exception if there are failures to position the Cursor
*/
- public void before( Tuple<K, V> element ) throws LdapException, CursorException, IOException
+ public void before( Tuple<K, V> element ) throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_446 ) );
}
@@ -136,7 +136,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public void after( Tuple<K, V> element ) throws LdapException, CursorException, IOException
+ public void after( Tuple<K, V> element ) throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_446 ) );
}
@@ -145,7 +145,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
}
@@ -153,7 +153,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
}
@@ -161,7 +161,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_446 ) );
}
@@ -170,7 +170,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_446 ) );
}
@@ -179,20 +179,28 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "previous()" );
- if ( wrapped.hasPrev() )
+
+ try
{
- org.apache.mavibot.btree.Tuple<V, V> t = wrapped.prev();
- returnedTuple.setKey( key );
- returnedTuple.setValue( t.getKey() );
- return valueAvailable = true;
+ if ( wrapped.hasPrev() )
+ {
+ org.apache.mavibot.btree.Tuple<V, V> t = wrapped.prev();
+ returnedTuple.setKey( key );
+ returnedTuple.setValue( t.getKey() );
+ return valueAvailable = true;
+ }
+ else
+ {
+ clearValue();
+ return false;
+ }
}
- else
+ catch( IOException e )
{
- clearValue();
- return false;
+ throw new CursorException( e );
}
}
@@ -200,20 +208,27 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "next()" );
- if ( wrapped.hasNext() )
+ try
{
- org.apache.mavibot.btree.Tuple<V, V> t = wrapped.next();
- returnedTuple.setKey( key );
- returnedTuple.setValue( t.getKey() );
- return valueAvailable = true;
+ if ( wrapped.hasNext() )
+ {
+ org.apache.mavibot.btree.Tuple<V, V> t = wrapped.next();
+ returnedTuple.setKey( key );
+ returnedTuple.setValue( t.getKey() );
+ return valueAvailable = true;
+ }
+ else
+ {
+ clearValue();
+ return false;
+ }
}
- else
+ catch( IOException e )
{
- clearValue();
- return false;
+ throw new CursorException( e );
}
}
@@ -221,7 +236,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public Tuple<K, V> get() throws CursorException, IOException
+ public Tuple<K, V> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotCursor.java (original)
+++ directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotCursor.java Sat Jul 6 06:56:22 2013
@@ -75,50 +75,65 @@ class MavibotCursor<K, V> extends Abstra
}
- public void beforeKey( K key ) throws LdapException, CursorException, IOException
+ public void beforeKey( K key ) throws LdapException, CursorException
{
checkNotClosed( "beforeKey()" );
closeBrowser( browser );
- browser = table.getBTree().browseFrom( key );
+
+ try
+ {
+ browser = table.getBTree().browseFrom( key );
+ }
+ catch( IOException e )
+ {
+ throw new CursorException( e );
+ }
clearValue();
}
@SuppressWarnings("unchecked")
- public void afterKey( K key ) throws LdapException, CursorException, IOException
+ public void afterKey( K key ) throws LdapException, CursorException
{
checkNotClosed( "afterKey()" );
closeBrowser( browser );
- browser = table.getBTree().browseFrom( key );
-
- if( table.isDupsEnabled() )
+ try
{
- browser.moveToNextNonDuplicateKey();
+ browser = table.getBTree().browseFrom( key );
+
+ if( table.isDupsEnabled() )
+ {
+ browser.moveToNextNonDuplicateKey();
+ }
+ else
+ {
+ if( browser.hasNext() )
+ {
+ browser.next();
+ }
+ else
+ {
+ browser.afterLast();
+ }
+ }
+
+ clearValue();
}
- else
+ catch( IOException e )
{
- if( browser.hasNext() )
- {
- browser.next();
- }
- else
- {
- browser.afterLast();
- }
+ throw new CursorException( e );
}
-
- clearValue();
}
- public void beforeValue( K key, V value ) throws LdapException, CursorException, IOException
+ public void beforeValue( K key, V value ) throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_596 ) );
}
- public void afterValue( K key, V value ) throws LdapException, CursorException, IOException
+ public void afterValue( K key, V value ) throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_596 ) );
}
@@ -130,54 +145,68 @@ class MavibotCursor<K, V> extends Abstra
* @param element the tuple who's key is used to position this Cursor
* @throws IOException if there are failures to position the Cursor
*/
- public void before( Tuple<K, V> element )throws LdapException, CursorException, IOException
+ public void before( Tuple<K, V> element )throws LdapException, CursorException
{
beforeKey( element.getKey() );
}
- public void after( Tuple<K, V> element )throws LdapException, CursorException, IOException
+ public void after( Tuple<K, V> element )throws LdapException, CursorException
{
afterKey( element.getKey() );
}
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
- if( browser == null )
+ try
+ {
+ if( browser == null )
+ {
+ browser = table.getBTree().browse();
+ }
+
+ browser.beforeFirst();
+ clearValue();
+ }
+ catch( IOException e )
{
- browser = table.getBTree().browse();
+ throw new CursorException( e );
}
-
- browser.beforeFirst();
- clearValue();
}
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
- if( browser == null )
+ try
{
- browser = table.getBTree().browse();
+ if( browser == null )
+ {
+ browser = table.getBTree().browse();
+ }
+
+ browser.afterLast();
+ clearValue();
+ }
+ catch( IOException e )
+ {
+ throw new CursorException( e );
}
-
- browser.afterLast();
- clearValue();
}
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
return next();
}
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
afterLast();
return previous();
@@ -185,7 +214,7 @@ class MavibotCursor<K, V> extends Abstra
@SuppressWarnings("unchecked")
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "previous()" );
if ( browser == null )
@@ -193,24 +222,31 @@ class MavibotCursor<K, V> extends Abstra
afterLast();
}
- if ( browser.hasPrev() )
+ try
{
- org.apache.mavibot.btree.Tuple<K, V> tuple = browser.prev();
-
- returnedTuple.setKey( tuple.getKey() );
- returnedTuple.setValue( ( V ) tuple.getValue() );
- return valueAvailable = true;
+ if ( browser.hasPrev() )
+ {
+ org.apache.mavibot.btree.Tuple<K, V> tuple = browser.prev();
+
+ returnedTuple.setKey( tuple.getKey() );
+ returnedTuple.setValue( ( V ) tuple.getValue() );
+ return valueAvailable = true;
+ }
+ else
+ {
+ clearValue();
+ return false;
+ }
}
- else
+ catch( IOException e )
{
- clearValue();
- return false;
+ throw new CursorException( e );
}
}
@SuppressWarnings("unchecked")
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "previous()" );
@@ -219,23 +255,30 @@ class MavibotCursor<K, V> extends Abstra
beforeFirst();
}
- if ( browser.hasNext() )
+ try
{
- org.apache.mavibot.btree.Tuple<K, V> tuple = browser.next();
-
- returnedTuple.setKey( tuple.getKey() );
- returnedTuple.setValue( tuple.getValue() );
- return valueAvailable = true;
+ if ( browser.hasNext() )
+ {
+ org.apache.mavibot.btree.Tuple<K, V> tuple = browser.next();
+
+ returnedTuple.setKey( tuple.getKey() );
+ returnedTuple.setValue( tuple.getValue() );
+ return valueAvailable = true;
+ }
+ else
+ {
+ clearValue();
+ return false;
+ }
}
- else
+ catch( IOException e )
{
- clearValue();
- return false;
+ throw new CursorException( e );
}
}
- public Tuple<K, V> get() throws CursorException, IOException
+ public Tuple<K, V> get() throws CursorException
{
checkNotClosed( "get()" );
if ( valueAvailable )
Modified: directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/ValueTreeCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/ValueTreeCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/ValueTreeCursor.java (original)
+++ directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/ValueTreeCursor.java Sat Jul 6 06:56:22 2013
@@ -62,72 +62,86 @@ public class ValueTreeCursor<V> extends
}
@Override
- public void before( V element ) throws LdapException, CursorException, IOException
+ public void before( V element ) throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_446 ) );
}
@Override
- public void after( V element ) throws LdapException, CursorException, IOException
+ public void after( V element ) throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_446 ) );
}
@Override
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
}
@Override
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_446 ) );
}
@Override
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_446 ) );
}
@Override
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
throw new UnsupportedOperationException( I18n.err( I18n.ERR_446 ) );
}
@Override
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
- if( wrapped.hasPrev() )
+ try
+ {
+ if( wrapped.hasPrev() )
+ {
+ available = wrapped.prev().getKey();
+ return true;
+ }
+ else
+ {
+ available = NOT_AVAILABLE;
+ return false;
+ }
+ }
+ catch( IOException e )
{
- available = wrapped.prev().getKey();
- return true;
- }
- else
- {
- available = NOT_AVAILABLE;
- return false;
+ throw new CursorException( e );
}
}
@Override
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
- if( wrapped.hasNext() )
- {
- available = wrapped.next().getKey();
- return true;
- }
- else
+ try
+ {
+ if( wrapped.hasNext() )
+ {
+ available = wrapped.next().getKey();
+ return true;
+ }
+ else
+ {
+ available = NOT_AVAILABLE;
+ return false;
+ }
+ }
+ catch( IOException e )
{
- available = NOT_AVAILABLE;
- return false;
+ throw new CursorException( e );
}
}
@Override
- public V get() throws CursorException, IOException
+ public V get() throws CursorException
{
return available;
}
Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/provider/ReplicaJournalCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/provider/ReplicaJournalCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/provider/ReplicaJournalCursor.java (original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/provider/ReplicaJournalCursor.java Sat Jul 6 06:56:22 2013
@@ -91,7 +91,7 @@ public class ReplicaJournalCursor extend
/**
* {@inheritDoc}
*/
- public void after( ReplicaEventMessage arg0 ) throws LdapException, CursorException, IOException
+ public void after( ReplicaEventMessage arg0 ) throws LdapException, CursorException
{
throw new UnsupportedOperationException();
}
@@ -100,7 +100,7 @@ public class ReplicaJournalCursor extend
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
throw new UnsupportedOperationException();
}
@@ -118,7 +118,7 @@ public class ReplicaJournalCursor extend
/**
* {@inheritDoc}
*/
- public void before( ReplicaEventMessage arg0 ) throws LdapException, CursorException, IOException
+ public void before( ReplicaEventMessage arg0 ) throws LdapException, CursorException
{
throw new UnsupportedOperationException();
}
@@ -127,7 +127,7 @@ public class ReplicaJournalCursor extend
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
}
@@ -135,7 +135,7 @@ public class ReplicaJournalCursor extend
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
throw new UnsupportedOperationException();
}
@@ -185,7 +185,7 @@ public class ReplicaJournalCursor extend
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
throw new UnsupportedOperationException();
}
@@ -194,7 +194,7 @@ public class ReplicaJournalCursor extend
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
while ( tupleCursor.next() )
{
@@ -218,7 +218,14 @@ public class ReplicaJournalCursor extend
}
else
{
- journal.remove( csn );
+ try
+ {
+ journal.remove( csn );
+ }
+ catch( IOException e )
+ {
+ throw new CursorException( e );
+ }
}
}
@@ -231,7 +238,7 @@ public class ReplicaJournalCursor extend
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
throw new UnsupportedOperationException();
}
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java Sat Jul 6 06:56:22 2013
@@ -69,7 +69,7 @@ public class EntryCursorAdaptor extends
/**
* {@inheritDoc}
*/
- public void after( Entry element ) throws LdapException, CursorException, IOException
+ public void after( Entry element ) throws LdapException, CursorException
{
throw new UnsupportedOperationException();
}
@@ -78,7 +78,7 @@ public class EntryCursorAdaptor extends
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
this.indexCursor.afterLast();
}
@@ -96,7 +96,7 @@ public class EntryCursorAdaptor extends
/**
* {@inheritDoc}
*/
- public void before( Entry element ) throws LdapException, CursorException, IOException
+ public void before( Entry element ) throws LdapException, CursorException
{
throw new UnsupportedOperationException();
}
@@ -105,7 +105,7 @@ public class EntryCursorAdaptor extends
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
indexCursor.beforeFirst();
}
@@ -151,7 +151,7 @@ public class EntryCursorAdaptor extends
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
return indexCursor.first();
}
@@ -160,7 +160,7 @@ public class EntryCursorAdaptor extends
/**
* {@inheritDoc}
*/
- public Entry get() throws CursorException, IOException
+ public Entry get() throws CursorException
{
IndexEntry<String, String> indexEntry = indexCursor.get();
@@ -199,7 +199,7 @@ public class EntryCursorAdaptor extends
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
return indexCursor.last();
}
@@ -208,7 +208,7 @@ public class EntryCursorAdaptor extends
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
return indexCursor.next();
}
@@ -217,7 +217,7 @@ public class EntryCursorAdaptor extends
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
return indexCursor.previous();
}
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexCursorAdaptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexCursorAdaptor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexCursorAdaptor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexCursorAdaptor.java Sat Jul 6 06:56:22 2013
@@ -90,7 +90,7 @@ public class IndexCursorAdaptor<K> exten
/**
* {@inheritDoc}
*/
- public void before( IndexEntry<K, String> element ) throws LdapException, CursorException, IOException
+ public void before( IndexEntry<K, String> element ) throws LdapException, CursorException
{
wrappedCursor.before( element.getTuple() );
}
@@ -99,7 +99,7 @@ public class IndexCursorAdaptor<K> exten
/**
* {@inheritDoc}
*/
- public void after( IndexEntry<K, String> element ) throws LdapException, CursorException, IOException
+ public void after( IndexEntry<K, String> element ) throws LdapException, CursorException
{
wrappedCursor.after( element.getTuple() );
}
@@ -108,7 +108,7 @@ public class IndexCursorAdaptor<K> exten
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
wrappedCursor.beforeFirst();
}
@@ -117,7 +117,7 @@ public class IndexCursorAdaptor<K> exten
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
wrappedCursor.afterLast();
}
@@ -126,7 +126,7 @@ public class IndexCursorAdaptor<K> exten
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
return wrappedCursor.first();
}
@@ -135,7 +135,7 @@ public class IndexCursorAdaptor<K> exten
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
return wrappedCursor.last();
}
@@ -153,7 +153,7 @@ public class IndexCursorAdaptor<K> exten
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
return wrappedCursor.previous();
}
@@ -162,7 +162,7 @@ public class IndexCursorAdaptor<K> exten
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
return wrappedCursor.next();
}
@@ -172,7 +172,7 @@ public class IndexCursorAdaptor<K> exten
* {@inheritDoc}
*/
@SuppressWarnings("unchecked")
- public IndexEntry<K, String> get() throws CursorException, IOException
+ public IndexEntry<K, String> get() throws CursorException
{
Tuple<K, String> tuple = wrappedCursor.get();
forwardEntry.setTuple( tuple );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java Sat Jul 6 06:56:22 2013
@@ -61,7 +61,7 @@ public abstract class AbstractIndexCurso
/**
* {@inheritDoc}
*/
- public void after( IndexEntry<V, String> element ) throws LdapException, CursorException, IOException
+ public void after( IndexEntry<V, String> element ) throws LdapException, CursorException
{
throw new UnsupportedOperationException( getUnsupportedMessage() );
}
@@ -70,7 +70,7 @@ public abstract class AbstractIndexCurso
/**
* {@inheritDoc}
*/
- public void before( IndexEntry<V, String> element ) throws LdapException, CursorException, IOException
+ public void before( IndexEntry<V, String> element ) throws LdapException, CursorException
{
throw new UnsupportedOperationException( getUnsupportedMessage() );
}
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java Sat Jul 6 06:56:22 2013
@@ -56,7 +56,7 @@ public class EmptyIndexCursor<K> extends
/**
* {@inheritDoc}
*/
- public void before( IndexEntry<K, String> element ) throws LdapException, CursorException, IOException
+ public void before( IndexEntry<K, String> element ) throws LdapException, CursorException
{
checkNotClosed( "before()" );
}
@@ -74,7 +74,7 @@ public class EmptyIndexCursor<K> extends
/**
* {@inheritDoc}
*/
- public void after( IndexEntry<K, String> element ) throws LdapException, CursorException, IOException
+ public void after( IndexEntry<K, String> element ) throws LdapException, CursorException
{
checkNotClosed( "after()" );
}
@@ -83,7 +83,7 @@ public class EmptyIndexCursor<K> extends
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
}
@@ -92,7 +92,7 @@ public class EmptyIndexCursor<K> extends
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
}
@@ -101,7 +101,7 @@ public class EmptyIndexCursor<K> extends
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
checkNotClosed( "first()" );
return false;
@@ -111,7 +111,7 @@ public class EmptyIndexCursor<K> extends
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
checkNotClosed( "last()" );
return false;
@@ -121,7 +121,7 @@ public class EmptyIndexCursor<K> extends
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "previous()" );
return false;
@@ -131,7 +131,7 @@ public class EmptyIndexCursor<K> extends
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "next()" );
return false;
@@ -141,7 +141,7 @@ public class EmptyIndexCursor<K> extends
/**
* {@inheritDoc}
*/
- public IndexEntry<K, String> get() throws CursorException, IOException
+ public IndexEntry<K, String> get() throws CursorException
{
checkNotClosed( "get()" );
throw new InvalidCursorPositionException( I18n.err( I18n.ERR_703 ) );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/KeyTupleArrayCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/KeyTupleArrayCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/KeyTupleArrayCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/KeyTupleArrayCursor.java Sat Jul 6 06:56:22 2013
@@ -134,7 +134,7 @@ public class KeyTupleArrayCursor<K, V> e
* @param element the valueTuple who's value is used to position this Cursor
* @throws Exception if there are failures to position the Cursor
*/
- public void before( Tuple<K, V> element ) throws LdapException, CursorException, IOException
+ public void before( Tuple<K, V> element ) throws LdapException, CursorException
{
checkNotClosed( "before()" );
wrapped.before( element.getValue() );
@@ -145,7 +145,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public void after( Tuple<K, V> element ) throws LdapException, CursorException, IOException
+ public void after( Tuple<K, V> element ) throws LdapException, CursorException
{
checkNotClosed( "after()" );
wrapped.after( element.getValue() );
@@ -156,7 +156,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
wrapped.beforeFirst();
@@ -167,7 +167,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
wrapped.afterLast();
@@ -178,7 +178,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
@@ -189,7 +189,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
afterLast();
@@ -200,7 +200,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "previous()" );
if ( wrapped.previous() )
@@ -220,7 +220,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "next()" );
if ( wrapped.next() )
@@ -240,7 +240,7 @@ public class KeyTupleArrayCursor<K, V> e
/**
* {@inheritDoc}
*/
- public Tuple<K, V> get() throws CursorException, IOException
+ public Tuple<K, V> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java Sat Jul 6 06:56:22 2013
@@ -78,7 +78,7 @@ public class SingletonIndexCursor<V> ext
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "()" );
beforeFirst = true;
@@ -90,7 +90,7 @@ public class SingletonIndexCursor<V> ext
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "()" );
beforeFirst = false;
@@ -102,7 +102,7 @@ public class SingletonIndexCursor<V> ext
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
checkNotClosed( "()" );
beforeFirst = false;
@@ -115,7 +115,7 @@ public class SingletonIndexCursor<V> ext
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
checkNotClosed( "()" );
beforeFirst = false;
@@ -164,7 +164,7 @@ public class SingletonIndexCursor<V> ext
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "()" );
if ( beforeFirst )
@@ -191,7 +191,7 @@ public class SingletonIndexCursor<V> ext
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "()" );
if ( beforeFirst )
@@ -218,7 +218,7 @@ public class SingletonIndexCursor<V> ext
/**
* {@inheritDoc}
*/
- public IndexEntry<V, String> get() throws CursorException, IOException
+ public IndexEntry<V, String> get() throws CursorException
{
checkNotClosed( "()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlTableDupsCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlTableDupsCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlTableDupsCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlTableDupsCursor.java Sat Jul 6 06:56:22 2013
@@ -126,7 +126,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public void beforeValue( K key, V value ) throws LdapException, CursorException, IOException
+ public void beforeValue( K key, V value ) throws LdapException, CursorException
{
checkNotClosed( "beforeValue()" );
wrappedCursor.beforeKey( key );
@@ -190,7 +190,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public void afterValue( K key, V value ) throws LdapException, CursorException, IOException
+ public void afterValue( K key, V value ) throws LdapException, CursorException
{
checkNotClosed( "afterValue()" );
@@ -270,7 +270,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public void after( Tuple<K, V> element ) throws LdapException, CursorException, IOException
+ public void after( Tuple<K, V> element ) throws LdapException, CursorException
{
afterValue( element.getKey(), element.getValue() );
}
@@ -279,7 +279,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
clearValue();
@@ -299,7 +299,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public void before( Tuple<K, V> element ) throws LdapException, CursorException, IOException
+ public void before( Tuple<K, V> element ) throws LdapException, CursorException
{
beforeValue( element.getKey(), element.getValue() );
}
@@ -308,7 +308,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
clearValue();
@@ -328,7 +328,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
checkNotClosed( "first()" );
clearValue();
@@ -374,7 +374,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public Tuple<K, V> get() throws CursorException, IOException
+ public Tuple<K, V> get() throws CursorException
{
checkNotClosed( "get()" );
@@ -390,7 +390,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
checkNotClosed( "last()" );
clearValue();
@@ -434,7 +434,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "next()" );
@@ -501,7 +501,7 @@ public class AvlTableDupsCursor<K, V> ex
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "previous()" );
/*
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AllEntriesCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AllEntriesCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AllEntriesCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AllEntriesCursor.java Sat Jul 6 06:56:22 2013
@@ -83,7 +83,7 @@ public class AllEntriesCursor extends Ab
/**
* {@inheritDoc}
*/
- public void after( IndexEntry<String, String> indexEntry ) throws LdapException, CursorException, IOException
+ public void after( IndexEntry<String, String> indexEntry ) throws LdapException, CursorException
{
checkNotClosed( "after()" );
}
@@ -92,7 +92,7 @@ public class AllEntriesCursor extends Ab
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
@@ -112,7 +112,7 @@ public class AllEntriesCursor extends Ab
/**
* {@inheritDoc}
*/
- public void before( IndexEntry<String, String> indexEntry ) throws LdapException, CursorException, IOException
+ public void before( IndexEntry<String, String> indexEntry ) throws LdapException, CursorException
{
checkNotClosed( "before()" );
}
@@ -121,7 +121,7 @@ public class AllEntriesCursor extends Ab
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
@@ -132,7 +132,7 @@ public class AllEntriesCursor extends Ab
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
checkNotClosed( "first()" );
@@ -143,7 +143,7 @@ public class AllEntriesCursor extends Ab
/**
* {@inheritDoc}
*/
- public IndexEntry<String, String> get() throws CursorException, IOException
+ public IndexEntry<String, String> get() throws CursorException
{
checkNotClosed( "get()" );
@@ -162,7 +162,7 @@ public class AllEntriesCursor extends Ab
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
checkNotClosed( "last()" );
@@ -173,7 +173,7 @@ public class AllEntriesCursor extends Ab
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "next()" );
@@ -184,7 +184,7 @@ public class AllEntriesCursor extends Ab
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "previous()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java Sat Jul 6 06:56:22 2013
@@ -95,7 +95,7 @@ public class AndCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
wrapped.beforeFirst();
@@ -106,7 +106,7 @@ public class AndCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
wrapped.afterLast();
@@ -117,7 +117,7 @@ public class AndCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
@@ -128,7 +128,7 @@ public class AndCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
afterLast();
@@ -139,7 +139,7 @@ public class AndCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
while ( wrapped.previous() )
{
@@ -160,7 +160,7 @@ public class AndCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
while ( wrapped.next() )
{
@@ -180,7 +180,7 @@ public class AndCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public IndexEntry<V, String> get() throws CursorException, IOException
+ public IndexEntry<V, String> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java Sat Jul 6 06:56:22 2013
@@ -131,7 +131,7 @@ public class ApproximateCursor<V> extend
/**
* {@inheritDoc}
*/
- public void before( IndexEntry<V, String> element ) throws LdapException, CursorException, IOException
+ public void before( IndexEntry<V, String> element ) throws LdapException, CursorException
{
checkNotClosed( "before()" );
@@ -150,7 +150,7 @@ public class ApproximateCursor<V> extend
* {@inheritDoc}
*/
@Override
- public void after( IndexEntry<V, String> element ) throws LdapException, CursorException, IOException
+ public void after( IndexEntry<V, String> element ) throws LdapException, CursorException
{
checkNotClosed( "after()" );
@@ -168,7 +168,7 @@ public class ApproximateCursor<V> extend
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
if ( userIdxCursor != null )
@@ -186,7 +186,7 @@ public class ApproximateCursor<V> extend
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
@@ -205,7 +205,7 @@ public class ApproximateCursor<V> extend
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
@@ -216,7 +216,7 @@ public class ApproximateCursor<V> extend
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
afterLast();
@@ -227,7 +227,7 @@ public class ApproximateCursor<V> extend
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
if ( userIdxCursor != null )
{
@@ -252,7 +252,7 @@ public class ApproximateCursor<V> extend
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
if ( userIdxCursor != null )
{
@@ -278,7 +278,7 @@ public class ApproximateCursor<V> extend
* {@inheritDoc}
*/
@SuppressWarnings("unchecked")
- public IndexEntry<V, String> get() throws CursorException, IOException
+ public IndexEntry<V, String> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java Sat Jul 6 06:56:22 2013
@@ -94,7 +94,7 @@ public class ChildrenCursor extends Abst
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
setAvailable( false );
@@ -104,7 +104,7 @@ public class ChildrenCursor extends Abst
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
throw new UnsupportedOperationException( getUnsupportedMessage() );
}
@@ -113,7 +113,7 @@ public class ChildrenCursor extends Abst
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
@@ -124,7 +124,7 @@ public class ChildrenCursor extends Abst
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
throw new UnsupportedOperationException( getUnsupportedMessage() );
}
@@ -133,7 +133,7 @@ public class ChildrenCursor extends Abst
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "next()" );
@@ -157,7 +157,7 @@ public class ChildrenCursor extends Abst
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "next()" );
@@ -184,7 +184,7 @@ public class ChildrenCursor extends Abst
/**
* {@inheritDoc}
*/
- public IndexEntry<String, String> get() throws CursorException, IOException
+ public IndexEntry<String, String> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java Sat Jul 6 06:56:22 2013
@@ -137,7 +137,7 @@ public class DescendantCursor extends Ab
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
setAvailable( false );
@@ -147,7 +147,7 @@ public class DescendantCursor extends Ab
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
throw new UnsupportedOperationException( getUnsupportedMessage() );
}
@@ -156,7 +156,7 @@ public class DescendantCursor extends Ab
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
@@ -167,7 +167,7 @@ public class DescendantCursor extends Ab
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
throw new UnsupportedOperationException( getUnsupportedMessage() );
}
@@ -176,7 +176,7 @@ public class DescendantCursor extends Ab
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "next()" );
@@ -200,7 +200,7 @@ public class DescendantCursor extends Ab
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "next()" );
boolean finished = false;
@@ -291,7 +291,7 @@ public class DescendantCursor extends Ab
/**
* {@inheritDoc}
*/
- public IndexEntry<String, String> get() throws CursorException, IOException
+ public IndexEntry<String, String> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java Sat Jul 6 06:56:22 2013
@@ -129,7 +129,7 @@ public class EqualityCursor<V> extends A
/**
* {@inheritDoc}
*/
- public void before( IndexEntry<V, String> element ) throws LdapException, CursorException, IOException
+ public void before( IndexEntry<V, String> element ) throws LdapException, CursorException
{
checkNotClosed( "before()" );
@@ -147,7 +147,7 @@ public class EqualityCursor<V> extends A
/**
* {@inheritDoc}
*/
- public void after( IndexEntry<V, String> element ) throws LdapException, CursorException, IOException
+ public void after( IndexEntry<V, String> element ) throws LdapException, CursorException
{
checkNotClosed( "after()" );
@@ -165,7 +165,7 @@ public class EqualityCursor<V> extends A
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
@@ -185,7 +185,7 @@ public class EqualityCursor<V> extends A
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
@@ -205,7 +205,7 @@ public class EqualityCursor<V> extends A
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
@@ -216,7 +216,7 @@ public class EqualityCursor<V> extends A
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
afterLast();
@@ -227,7 +227,7 @@ public class EqualityCursor<V> extends A
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
if ( userIdxCursor != null )
{
@@ -252,7 +252,7 @@ public class EqualityCursor<V> extends A
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
if ( userIdxCursor != null )
{
@@ -278,7 +278,7 @@ public class EqualityCursor<V> extends A
* {@inheritDoc}
*/
@SuppressWarnings("unchecked")
- public IndexEntry<V, String> get() throws CursorException, IOException
+ public IndexEntry<V, String> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java Sat Jul 6 06:56:22 2013
@@ -118,7 +118,7 @@ public class GreaterEqCursor<V> extends
/**
* {@inheritDoc}
*/
- public void before( IndexEntry<V, String> element ) throws LdapException, CursorException, IOException
+ public void before( IndexEntry<V, String> element ) throws LdapException, CursorException
{
checkNotClosed( "before()" );
@@ -152,7 +152,7 @@ public class GreaterEqCursor<V> extends
/**
* {@inheritDoc}
*/
- public void after( IndexEntry<V, String> element ) throws LdapException, CursorException, IOException
+ public void after( IndexEntry<V, String> element ) throws LdapException, CursorException
{
checkNotClosed( "after()" );
@@ -199,7 +199,7 @@ public class GreaterEqCursor<V> extends
* {@inheritDoc}
*/
@SuppressWarnings("unchecked")
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
@@ -222,7 +222,7 @@ public class GreaterEqCursor<V> extends
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
@@ -243,7 +243,7 @@ public class GreaterEqCursor<V> extends
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
@@ -254,7 +254,7 @@ public class GreaterEqCursor<V> extends
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
afterLast();
@@ -265,7 +265,7 @@ public class GreaterEqCursor<V> extends
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "previous()" );
@@ -308,7 +308,7 @@ public class GreaterEqCursor<V> extends
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "next()" );
@@ -339,7 +339,7 @@ public class GreaterEqCursor<V> extends
/**
* {@inheritDoc}
*/
- public IndexEntry<V, String> get() throws CursorException, IOException
+ public IndexEntry<V, String> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java Sat Jul 6 06:56:22 2013
@@ -112,7 +112,7 @@ public class LessEqCursor<V> extends Abs
/**
* {@inheritDoc}
*/
- public void before( IndexEntry<V, String> element ) throws LdapException, CursorException, IOException
+ public void before( IndexEntry<V, String> element ) throws LdapException, CursorException
{
checkNotClosed( "before()" );
@@ -160,7 +160,7 @@ public class LessEqCursor<V> extends Abs
/**
* {@inheritDoc}
*/
- public void after( IndexEntry<V, String> element ) throws LdapException, CursorException, IOException
+ public void after( IndexEntry<V, String> element ) throws LdapException, CursorException
{
checkNotClosed( "after()" );
@@ -200,7 +200,7 @@ public class LessEqCursor<V> extends Abs
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
if ( userIdxCursor != null )
@@ -220,7 +220,7 @@ public class LessEqCursor<V> extends Abs
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
if ( userIdxCursor != null )
@@ -243,7 +243,7 @@ public class LessEqCursor<V> extends Abs
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
return next();
@@ -253,7 +253,7 @@ public class LessEqCursor<V> extends Abs
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
afterLast();
@@ -264,7 +264,7 @@ public class LessEqCursor<V> extends Abs
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "previous()" );
@@ -300,7 +300,7 @@ public class LessEqCursor<V> extends Abs
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "next()" );
@@ -349,7 +349,7 @@ public class LessEqCursor<V> extends Abs
/**
* {@inheritDoc}
*/
- public IndexEntry<V, String> get() throws CursorException, IOException
+ public IndexEntry<V, String> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java Sat Jul 6 06:56:22 2013
@@ -81,7 +81,7 @@ public class NotCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
uuidCursor.beforeFirst();
@@ -92,7 +92,7 @@ public class NotCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
uuidCursor.afterLast();
@@ -103,7 +103,7 @@ public class NotCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
@@ -114,7 +114,7 @@ public class NotCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
afterLast();
@@ -125,7 +125,7 @@ public class NotCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
while ( uuidCursor.previous() )
{
@@ -145,7 +145,7 @@ public class NotCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
while ( uuidCursor.next() )
{
@@ -165,7 +165,7 @@ public class NotCursor<V> extends Abstra
/**
* {@inheritDoc}
*/
- public IndexEntry<V, String> get() throws CursorException, IOException
+ public IndexEntry<V, String> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java Sat Jul 6 06:56:22 2013
@@ -102,7 +102,7 @@ public class OrCursor<V> extends Abstrac
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
cursorIndex = 0;
@@ -115,7 +115,7 @@ public class OrCursor<V> extends Abstrac
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
cursorIndex = cursors.size() - 1;
@@ -128,7 +128,7 @@ public class OrCursor<V> extends Abstrac
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
@@ -139,7 +139,7 @@ public class OrCursor<V> extends Abstrac
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
afterLast();
@@ -180,7 +180,7 @@ public class OrCursor<V> extends Abstrac
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
while ( cursors.get( cursorIndex ).previous() )
{
@@ -226,7 +226,7 @@ public class OrCursor<V> extends Abstrac
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
while ( cursors.get( cursorIndex ).next() )
{
@@ -274,7 +274,7 @@ public class OrCursor<V> extends Abstrac
/**
* {@inheritDoc}
*/
- public IndexEntry<V, String> get() throws CursorException, IOException
+ public IndexEntry<V, String> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java Sat Jul 6 06:56:22 2013
@@ -108,7 +108,7 @@ public class PresenceCursor extends Abst
/**
* {@inheritDoc}
*/
- public void before( IndexEntry<String, String> element ) throws LdapException, CursorException, IOException
+ public void before( IndexEntry<String, String> element ) throws LdapException, CursorException
{
checkNotClosed( "before()" );
@@ -126,7 +126,7 @@ public class PresenceCursor extends Abst
/**
* {@inheritDoc}
*/
- public void after( IndexEntry<String, String> element ) throws LdapException, CursorException, IOException
+ public void after( IndexEntry<String, String> element ) throws LdapException, CursorException
{
checkNotClosed( "after()" );
@@ -144,7 +144,7 @@ public class PresenceCursor extends Abst
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
@@ -163,7 +163,7 @@ public class PresenceCursor extends Abst
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
@@ -181,7 +181,7 @@ public class PresenceCursor extends Abst
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
checkNotClosed( "first()" );
if ( presenceCursor != null )
@@ -197,7 +197,7 @@ public class PresenceCursor extends Abst
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
checkNotClosed( "last()" );
@@ -215,7 +215,7 @@ public class PresenceCursor extends Abst
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
checkNotClosed( "previous()" );
@@ -242,7 +242,7 @@ public class PresenceCursor extends Abst
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
checkNotClosed( "next()" );
@@ -271,7 +271,7 @@ public class PresenceCursor extends Abst
/**
* {@inheritDoc}
*/
- public IndexEntry<String, String> get() throws CursorException, IOException
+ public IndexEntry<String, String> get() throws CursorException
{
checkNotClosed( "get()" );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java?rev=1500213&r1=1500212&r2=1500213&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java Sat Jul 6 06:56:22 2013
@@ -105,7 +105,7 @@ public class SubstringCursor extends Abs
/**
* {@inheritDoc}
*/
- public void beforeFirst() throws LdapException, CursorException, IOException
+ public void beforeFirst() throws LdapException, CursorException
{
checkNotClosed( "beforeFirst()" );
if ( evaluator.getExpression().getInitial() != null && hasIndex )
@@ -135,7 +135,7 @@ public class SubstringCursor extends Abs
/**
* {@inheritDoc}
*/
- public void afterLast() throws LdapException, CursorException, IOException
+ public void afterLast() throws LdapException, CursorException
{
checkNotClosed( "afterLast()" );
@@ -150,7 +150,7 @@ public class SubstringCursor extends Abs
/**
* {@inheritDoc}
*/
- public boolean first() throws LdapException, CursorException, IOException
+ public boolean first() throws LdapException, CursorException
{
beforeFirst();
return next();
@@ -174,7 +174,7 @@ public class SubstringCursor extends Abs
/**
* {@inheritDoc}
*/
- public boolean last() throws LdapException, CursorException, IOException
+ public boolean last() throws LdapException, CursorException
{
afterLast();
@@ -185,7 +185,7 @@ public class SubstringCursor extends Abs
/**
* {@inheritDoc}
*/
- public boolean previous() throws LdapException, CursorException, IOException
+ public boolean previous() throws LdapException, CursorException
{
while ( wrapped.previous() )
{
@@ -210,7 +210,7 @@ public class SubstringCursor extends Abs
/**
* {@inheritDoc}
*/
- public boolean next() throws LdapException, CursorException, IOException
+ public boolean next() throws LdapException, CursorException
{
while ( wrapped.next() )
{
@@ -236,7 +236,7 @@ public class SubstringCursor extends Abs
/**
* {@inheritDoc}
*/
- public IndexEntry<String, String> get() throws CursorException, IOException
+ public IndexEntry<String, String> get() throws CursorException
{
checkNotClosed( "get()" );
|