Package org.nervos.ckb.exceptions
Class AddressFormatException.InvalidCharacter
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.nervos.ckb.exceptions.AddressFormatException
org.nervos.ckb.exceptions.AddressFormatException.InvalidCharacter
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- AddressFormatException
public static class AddressFormatException.InvalidCharacter extends AddressFormatException
This exception is thrown by Bech32 when you try to decode data and a character isn't valid. 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.nervos.ckb.exceptions.AddressFormatException
AddressFormatException.InvalidCharacter, AddressFormatException.InvalidChecksum, AddressFormatException.InvalidDataLength, AddressFormatException.InvalidPrefix -
Field Summary
-
Constructor Summary
Constructors Constructor Description InvalidCharacter(char character, int position) -
Method Summary
-
Field Details
-
Constructor Details
-
InvalidCharacter
public InvalidCharacter(char character, int position)
-