diff --git a/crypto/src/main/java/org/web3j/crypto/WalletUtils.java b/crypto/src/main/java/org/web3j/crypto/WalletUtils.java index 9de046d6f..387dadb91 100644 --- a/crypto/src/main/java/org/web3j/crypto/WalletUtils.java +++ b/crypto/src/main/java/org/web3j/crypto/WalletUtils.java @@ -85,6 +85,8 @@ public static String generateWalletFile( * @param password Will be used for both wallet encryption and passphrase for BIP-39 seed * @param destinationDirectory The directory containing the wallet * @return A BIP-39 compatible Ethereum wallet + * @throws CipherException if the underlying cipher is not available + * @throws IOException if the destination cannot be written to */ public static Bip39Wallet generateBip39Wallet(String password, File destinationDirectory) throws CipherException, IOException {