Remove a java6ism (IOError)

This commit is contained in:
Mike Hearn
2011-08-05 14:08:35 +00:00
parent 0b3c97239a
commit 94f36ae8ec

View File

@@ -25,7 +25,6 @@ import com.google.bitcoin.store.BlockStoreException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOError;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.util.Collections;
@@ -270,7 +269,7 @@ public class PeerGroup {
// Fatal error
log.error("Block store corrupt?", e);
running = false;
throw new IOError(e);
throw new RuntimeException(e);
}
// If we got here, we should retry this address because an error unrelated