Package org.sol4k.utilities
Class AddressFormatException.InvalidDataLength
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.sol4k.utilities.AddressFormatException
-
- org.sol4k.utilities.AddressFormatException.InvalidDataLength
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AddressFormatException
public static class AddressFormatException.InvalidDataLength extends AddressFormatException
This exception is thrown byBase58when you try to decode data and the data isn't of the right size. 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.sol4k.utilities.AddressFormatException
AddressFormatException.InvalidCharacter, AddressFormatException.InvalidChecksum, AddressFormatException.InvalidDataLength, AddressFormatException.InvalidPrefix, AddressFormatException.UnexpectedWitnessVersion, AddressFormatException.WrongNetwork
-
-
Constructor Summary
Constructors Constructor Description InvalidDataLength()InvalidDataLength(String message)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidDataLength
public InvalidDataLength()
-
InvalidDataLength
public InvalidDataLength(String message)
-
-