Class AddressFormatException.InvalidDataLength

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    AddressFormatException

    public static class AddressFormatException.InvalidDataLength
    extends 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:
    Serialized Form
    • Constructor Detail

      • InvalidDataLength

        public InvalidDataLength()
      • InvalidDataLength

        public InvalidDataLength​(java.lang.String message)