Package org.bitcoinj.core
Class AddressFormatException.InvalidPrefix
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.bitcoinj.core.AddressFormatException
-
- org.bitcoinj.core.AddressFormatException.InvalidPrefix
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AddressFormatException.WrongNetwork
- Enclosing class:
- AddressFormatException
public static class AddressFormatException.InvalidPrefix extends AddressFormatException
This exception is thrown by thePrefixedChecksummedBytes
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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bitcoinj.core.AddressFormatException
AddressFormatException.InvalidCharacter, AddressFormatException.InvalidChecksum, AddressFormatException.InvalidDataLength, AddressFormatException.InvalidPrefix, AddressFormatException.UnexpectedWitnessVersion, AddressFormatException.WrongNetwork
-
-
Constructor Summary
Constructors Constructor Description InvalidPrefix()
InvalidPrefix(java.lang.String message)
-