mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-01 21:17:13 +00:00
Remove a java6ism (IOError)
This commit is contained in:
@@ -25,7 +25,6 @@ import com.google.bitcoin.store.BlockStoreException;
|
|||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import java.io.IOError;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.InetSocketAddress;
|
import java.net.InetSocketAddress;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
@@ -270,7 +269,7 @@ public class PeerGroup {
|
|||||||
// Fatal error
|
// Fatal error
|
||||||
log.error("Block store corrupt?", e);
|
log.error("Block store corrupt?", e);
|
||||||
running = false;
|
running = false;
|
||||||
throw new IOError(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we got here, we should retry this address because an error unrelated
|
// If we got here, we should retry this address because an error unrelated
|
||||||
|
|||||||
Reference in New Issue
Block a user