Package org.ldk.structs
Class GraphSyncError
- java.lang.Object
-
- org.ldk.structs.GraphSyncError
-
- Direct Known Subclasses:
GraphSyncError.DecodeError,GraphSyncError.LightningError
public class GraphSyncError extends Object
All-encompassing standard error type that processing can return
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGraphSyncError.DecodeErrorError trying to read the update data, typically due to an erroneous data length indication that is greater than the actual amount of data providedstatic classGraphSyncError.LightningErrorError applying the patch to the network graph, usually the result of updates that are too old or missing prerequisite data to the application of updates out of order
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphSyncErrorclone()Creates a copy of the GraphSyncErrorstatic GraphSyncErrordecode_error(GraphSyncError.DecodeError a)Utility method to constructs a new DecodeError-variant GraphSyncErrorprotected voidfinalize()static GraphSyncErrorlightning_error(GraphSyncError.LightningError a)Utility method to constructs a new LightningError-variant GraphSyncError
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
clone
public GraphSyncError clone()
Creates a copy of the GraphSyncError
-
decode_error
public static GraphSyncError decode_error(GraphSyncError.DecodeError a)
Utility method to constructs a new DecodeError-variant GraphSyncError
-
lightning_error
public static GraphSyncError lightning_error(GraphSyncError.LightningError a)
Utility method to constructs a new LightningError-variant GraphSyncError
-
-