Class UnexpectedlyTerminatedActionException
The exception that is thrown during an IAction is being evaluated.
The actual exception that the Action threw
is stored in the
Inheritance
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
public sealed class UnexpectedlyTerminatedActionException : Exception
Constructors
| Improve this Doc View SourceUnexpectedlyTerminatedActionException(String, HashDigest<SHA256>, Int64, Nullable<TxId>, Nullable<HashDigest<SHA256>>, IAction, Exception)
Creates a new UnexpectedlyTerminatedActionException object.
Declaration
public UnexpectedlyTerminatedActionException(string message, HashDigest<SHA256> preEvaluationHash, long blockIndex, TxId? txid, HashDigest<SHA256>? previousStateRootHash, IAction action, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Specifies a |
HashDigest<SHA256> | preEvaluationHash | The PreEvaluationHash of the
Block that |
System.Int64 | blockIndex | |
System.Nullable<TxId> | txid | The Id of
the Transaction that |
System.Nullable<HashDigest<SHA256>> | previousStateRootHash | The |
IAction | action | The IAction object which threw an exception. |
Exception | innerException | The actual exception that the Action threw. |
Properties
| Improve this Doc View SourceAction
The IAction object which threw an exception.
Declaration
public IAction Action { get; }
Property Value
Type | Description |
---|---|
IAction |
BlockIndex
Declaration
public long BlockIndex { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
PreEvaluationHash
The PreEvaluationHash of the Block that Action belongs to.
Declaration
public HashDigest<SHA256> PreEvaluationHash { get; }
Property Value
Type | Description |
---|---|
HashDigest<SHA256> |
PreviousStateRootHash
The exception that is thrown during an IAction is being evaluated.
The actual exception that the Action threw
is stored in the
Declaration
public HashDigest<SHA256>? PreviousStateRootHash { get; }
Property Value
Type | Description |
---|---|
System.Nullable<HashDigest<SHA256>> |
TxId
The Id of the Transaction that
Action belongs to.
This can be null
if Action is a
Declaration
public TxId? TxId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<TxId> |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
The exception that is thrown during an IAction is being evaluated.
The actual exception that the Action threw
is stored in the
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |