Changeset f5ae9c2 for installer


Ignore:
Timestamp:
Nov 14, 2015 2:50:08 AM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
99c9b30
Parents:
23cb4ca
Message:

fix installer tools compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • installer/tools/java/src/net/i2p/router/networkdb/kademlia/BundleRouterInfos.java

    r23cb4ca rf5ae9c2  
    2525
    2626import net.i2p.I2PAppContext;
     27import net.i2p.data.DataFormatException;
    2728import net.i2p.data.Hash;
    2829import net.i2p.data.router.RouterAddress;
     
    110111            ri.readBytes(fis, true);  // true = verify sig on read
    111112            me = ri.getIdentity().getHash();
    112         } catch (RuntimeException e) {
     113        } catch (IOException e) {
     114            //System.out.println("Can't determine our identity");
     115        } catch (DataFormatException e) {
    113116            //System.out.println("Can't determine our identity");
    114117        } finally {
     
    210213                else
    211214                    System.out.println("Failed copy of " + file + " to " + toDir);
    212             } catch (RuntimeException e) {
     215            } catch (IOException e) {
     216                System.out.println("Skipping bad " + file);
     217            } catch (DataFormatException e) {
    213218                System.out.println("Skipping bad " + file);
    214219            } finally {
Note: See TracChangeset for help on using the changeset viewer.