Package org.bitcoinj.base.exceptions
Class AddressFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.bitcoinj.base.exceptions.AddressFormatException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AddressFormatException.InvalidCharacter
,AddressFormatException.InvalidChecksum
,AddressFormatException.InvalidDataLength
,AddressFormatException.InvalidPrefix
,AddressFormatException.UnexpectedWitnessVersion
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
This exception is thrown by theEncodedPrivateKey
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
This exception is thrown bySegwitAddress
when you try to decode data and the witness version doesn't match the Bech32 encoding as per BIP350.static class
This exception is thrown by theEncodedPrivateKey
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 Summary
-
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
-