3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 10:45:51 +00:00

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); throw new UnreadableWalletException("Could not parse input stream to protobuf", e);
} catch (IllegalStateException e) { } catch (IllegalStateException e) {
throw new UnreadableWalletException("Could not parse input stream to protobuf", 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);
} }
} }