Class AddressFormatException.InvalidPrefix

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    AddressFormatException.WrongNetwork
    Enclosing class:
    AddressFormatException

    public static class AddressFormatException.InvalidPrefix
    extends AddressFormatException
    This exception is thrown by the EncodedPrivateKey hierarchy of classes when you try and decode an address or private key with an invalid prefix (version header or human-readable part). You shouldn't allow the user to proceed in this case.
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidPrefix

        public InvalidPrefix()
      • InvalidPrefix

        public InvalidPrefix​(java.lang.String message)