Class AddressFormatException.InvalidPrefix

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

public static class AddressFormatException.InvalidPrefix extends AddressFormatException
This exception is thrown by the PrefixedChecksummedBytes 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:
  • Constructor Details

    • InvalidPrefix

      public InvalidPrefix()
    • InvalidPrefix

      public InvalidPrefix(String message)