-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Cursor interface [1] throws almost for each method an 'Exception'. I suggest to make this less generic and throw either the (from javadoc) "UnsupportedOperationException" or in analogy to the Iterator a "NoSuchElementException" for methods like before,after,last,first, ...
WDYT? [1] http://people.apache.org/~felixk/shared-docs/xref/org/apache/directory/shared/ldap/cursor/Cursor.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwKH6IACgkQ2lZVCB08qHFQAACeO1snM9Hb0hp9CzX9bJVerSZa oQUAoKno/CKWngureFXd8+AaYtMu1lWg =qqpa -----END PGP SIGNATURE-----
