Package org.bitcoinj.base.exceptions
Class AddressFormatException.InvalidPrefix
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.bitcoinj.base.exceptions.AddressFormatException
org.bitcoinj.base.exceptions.AddressFormatException.InvalidPrefix
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AddressFormatException.WrongNetwork
- Enclosing class:
- 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bitcoinj.base.exceptions.AddressFormatException
AddressFormatException.InvalidCharacter, AddressFormatException.InvalidChecksum, AddressFormatException.InvalidDataLength, AddressFormatException.InvalidPrefix, AddressFormatException.UnexpectedWitnessVersion, AddressFormatException.WrongNetwork
-
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
-
InvalidPrefix
public InvalidPrefix() -
InvalidPrefix
-