Package org.bitcoinj.core
Class AddressFormatException.InvalidDataLength
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.bitcoinj.core.AddressFormatException
-
- org.bitcoinj.core.AddressFormatException.InvalidDataLength
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- AddressFormatException
public static class AddressFormatException.InvalidDataLength extends AddressFormatException
This exception is thrown byBase58
,Bech32
and thePrefixedChecksummedBytes
hierarchy of classes when you try to decode data and the data isn't of the right size. You shouldn't allow the user to proceed in this case.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bitcoinj.core.AddressFormatException
AddressFormatException.InvalidCharacter, AddressFormatException.InvalidChecksum, AddressFormatException.InvalidDataLength, AddressFormatException.InvalidPrefix, AddressFormatException.UnexpectedWitnessVersion, AddressFormatException.WrongNetwork
-
-
Constructor Summary
Constructors Constructor Description InvalidDataLength()
InvalidDataLength(java.lang.String message)
-