Replace "throws Exception" with the specific Exception(s) thrown.

This commit is contained in:
Peter Lawrey
2015-06-28 18:52:05 +01:00
parent 9f9aaa9b9e
commit 9c8fea8367
25 changed files with 67 additions and 65 deletions
@@ -455,7 +455,7 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
}
@Override
public boolean nextEntry(@NotNull final EngineEntryCallback callback) throws InterruptedException {
public boolean nextEntry(@NotNull final EngineEntryCallback callback) {
return modificationIterator.nextEntry(new EntryCallback() {
@@ -1719,7 +1719,7 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
* @return true if an entry was processed
*/
@Override
public boolean nextEntry(@NotNull final EntryCallback entryCallback, final int chronicleId) throws InterruptedException {
public boolean nextEntry(@NotNull final EntryCallback entryCallback, final int chronicleId) {
long position = this.position;
while (true) {
long oldPosition = position;