public class AddressFormatException
extends java.lang.IllegalArgumentException
Modifier and Type | Class and Description |
---|---|
static class |
AddressFormatException.InvalidCharacter
This exception is thrown by
Base58 , Bech32 and the PrefixedChecksummedBytes hierarchy of
classes when you try to decode data and a character isn't valid. |
static class |
AddressFormatException.InvalidChecksum
This exception is thrown by
Base58 , Bech32 and the PrefixedChecksummedBytes hierarchy of
classes when you try to decode data and the checksum isn't valid. |
static class |
AddressFormatException.InvalidDataLength
This exception is thrown by
Base58 , Bech32 and the PrefixedChecksummedBytes hierarchy of
classes when you try to decode data and the data isn't of the right size. |
static class |
AddressFormatException.InvalidPrefix
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). |
static class |
AddressFormatException.WrongNetwork
This exception is thrown by the
PrefixedChecksummedBytes hierarchy of classes when you try and decode an
address with a prefix (version header or human-readable part) that used by another network (usually: mainnet vs
testnet). |
Constructor and Description |
---|
AddressFormatException() |
AddressFormatException(java.lang.String message) |