WalletProtobufSerializer: Rethrow IllegalArgumentException when loading wallets.

This commit is contained in:
Andreas Schildbach 2015-09-05 19:23:18 +02:00
parent 66a851bd30
commit f20cb1132d

View file

@ -420,6 +420,8 @@ public class WalletProtobufSerializer {
throw new UnreadableWalletException("Could not parse input stream to protobuf", e);
} catch (IllegalStateException e) {
throw new UnreadableWalletException("Could not parse input stream to protobuf", e);
} catch (IllegalArgumentException e) {
throw new UnreadableWalletException("Could not parse input stream to protobuf", e);
}
}