Class AddressFormatException.InvalidCharacter

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

    public static class AddressFormatException.InvalidCharacter
    extends AddressFormatException
    This exception is thrown by Base58, Bech32 and the EncodedPrivateKey hierarchy of classes when you try to decode data and a character isn't valid. You shouldn't allow the user to proceed in this case.
    See Also:
    Serialized Form
    • Field Detail

      • character

        public final char character
      • position

        public final int position
    • Constructor Detail

      • InvalidCharacter

        public InvalidCharacter​(char character,
                                int position)