Package org.nervos.ckb.exceptions
Class AddressFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.nervos.ckb.exceptions.AddressFormatException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AddressFormatException.InvalidCharacter,AddressFormatException.InvalidChecksum,AddressFormatException.InvalidDataLength,AddressFormatException.InvalidPrefix
public class AddressFormatException
extends java.lang.IllegalArgumentException
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddressFormatException.InvalidCharacterThis exception is thrown by Bech32 when you try to decode data and a character isn't valid.static classAddressFormatException.InvalidChecksumThis exception is thrown by Bech32 when you try to decode data and a character isn't valid.static classAddressFormatException.InvalidDataLengthThis exception is thrown by Bech32 when you try to decode data and a character isn't valid.static classAddressFormatException.InvalidPrefixThis exception is thrown by the hierarchy of classes when you try and decode an address or private key with an invalid prefix (version header or human-readable part). -
Constructor Summary
Constructors Constructor Description AddressFormatException()AddressFormatException(java.lang.String message) -
Method Summary
-
Constructor Details
-
AddressFormatException
public AddressFormatException() -
AddressFormatException
public AddressFormatException(java.lang.String message)
-