Package org.bitcoinj.core
Class AddressFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.bitcoinj.core.AddressFormatException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AddressFormatException.InvalidCharacter,AddressFormatException.InvalidChecksum,AddressFormatException.InvalidDataLength,AddressFormatException.InvalidPrefix,AddressFormatException.UnexpectedWitnessVersion
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis exception is thrown byBase58,Bech32and thePrefixedChecksummedByteshierarchy of classes when you try to decode data and a character isn't valid.static classThis exception is thrown byBase58,Bech32and thePrefixedChecksummedByteshierarchy of classes when you try to decode data and the checksum isn't valid.static classThis exception is thrown byBase58,Bech32and thePrefixedChecksummedByteshierarchy of classes when you try to decode data and the data isn't of the right size.static classThis exception is thrown by thePrefixedChecksummedByteshierarchy of classes when you try and decode an address or private key with an invalid prefix (version header or human-readable part).static classThis exception is thrown bySegwitAddresswhen you try to decode data and the witness version doesn't match the Bech32 encoding as per BIP350.static classThis exception is thrown by thePrefixedChecksummedByteshierarchy 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 Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AddressFormatException
public AddressFormatException() -
AddressFormatException
-