Package org.ldk.enums
Enum UtxoLookupError
- java.lang.Object
-
- java.lang.Enum<UtxoLookupError>
-
- org.ldk.enums.UtxoLookupError
-
- All Implemented Interfaces:
Serializable
,Comparable<UtxoLookupError>
public enum UtxoLookupError extends Enum<UtxoLookupError>
An error when accessing the chain via [`UtxoLookup`].
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LDKUtxoLookupError_UnknownChain
The requested chain is unknown.LDKUtxoLookupError_UnknownTx
The requested transaction doesn't exist or hasn't confirmed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UtxoLookupError
valueOf(String name)
Returns the enum constant of this type with the specified name.static UtxoLookupError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LDKUtxoLookupError_UnknownChain
public static final UtxoLookupError LDKUtxoLookupError_UnknownChain
The requested chain is unknown.
-
LDKUtxoLookupError_UnknownTx
public static final UtxoLookupError LDKUtxoLookupError_UnknownTx
The requested transaction doesn't exist or hasn't confirmed.
-
-
Method Detail
-
values
public static UtxoLookupError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UtxoLookupError c : UtxoLookupError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UtxoLookupError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-