Package org.bitcoinj.base.exceptions
Class AddressFormatException.InvalidDataLength
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.bitcoinj.base.exceptions.AddressFormatException
org.bitcoinj.base.exceptions.AddressFormatException.InvalidDataLength
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- AddressFormatException
This exception is thrown by 
Base58, Bech32 and the EncodedPrivateKey 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:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bitcoinj.base.exceptions.AddressFormatExceptionAddressFormatException.InvalidCharacter, AddressFormatException.InvalidChecksum, AddressFormatException.InvalidDataLength, AddressFormatException.InvalidPrefix, AddressFormatException.UnexpectedWitnessVersion, AddressFormatException.WrongNetwork
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
InvalidDataLengthpublic InvalidDataLength()
- 
InvalidDataLength
 
-