bitcoinj/core
Andreas Schildbach 2c28cadda5 MnemonicCode: in toMnemonic() throw unchecked rather than checked exception
When converting from entropy to mnemonic with `toMnemonic()`, a `MnemonicLengthException`
was thrown for entropies with invalid length. This is bad for two reasons:

- it is a checked exception, and the method will not be called with user input
- misleading exception name, the error is about the entropy length not the mnemonic

We now throw a `RuntimeException` instead. The resulting simplification of
calling code can be witnessed in `DeterministicSeed`.
2023-03-09 21:44:31 +01:00
..
src MnemonicCode: in toMnemonic() throw unchecked rather than checked exception 2023-03-09 21:44:31 +01:00
build.gradle build.gradle: update protobuf-javalite to 3.21.12 2023-01-29 21:59:16 +01:00
findbugs.xml Renamespace to org.bitcoinj away from com.google.bitcoin, as bitcoinj is no longer a Google project and being namespaced under com.google causes issues with Sonatype/Maven Central. 2014-09-30 17:05:07 +02:00