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 class  AddressFormatException.InvalidCharacter
    This exception is thrown by Bech32 when you try to decode data and a character isn't valid.
    static class  AddressFormatException.InvalidChecksum
    This exception is thrown by Bech32 when you try to decode data and a character isn't valid.
    static class  AddressFormatException.InvalidDataLength
    This exception is thrown by Bech32 when you try to decode data and a character isn't valid.
    static class  AddressFormatException.InvalidPrefix
    This 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

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait