Show / Hide Table of Contents

Class UnexpectedlyTerminatedActionException

The exception that is thrown during an IAction is being evaluated.

The actual exception that the Action threw is stored in the property.

Inheritance
System.Object
UnexpectedlyTerminatedActionException
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
public sealed class UnexpectedlyTerminatedActionException : Exception

Constructors

| Improve this Doc View Source

UnexpectedlyTerminatedActionException(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 action belongs to.

System.Int64 blockIndex

The Index of the Block that action belongs to.

System.Nullable<TxId> txid

The Id of the Transaction that action belongs to. This can be null if action is a .

System.Nullable<HashDigest<SHA256>> previousStateRootHash

The of states until previous action execution. This can be null if the chain which executed the action, was not using .

IAction action

The IAction object which threw an exception.

Exception innerException

The actual exception that the Action threw.

Properties

| Improve this Doc View Source

Action

The IAction object which threw an exception.

Declaration
public IAction Action { get; }
Property Value
Type Description
IAction
| Improve this Doc View Source

BlockIndex

The Index of the Block that Action belongs to.

Declaration
public long BlockIndex { get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

PreEvaluationHash

The PreEvaluationHash of the Block that Action belongs to.

Declaration
public HashDigest<SHA256> PreEvaluationHash { get; }
Property Value
Type Description
HashDigest<SHA256>
| Improve this Doc View Source

PreviousStateRootHash

The exception that is thrown during an IAction is being evaluated.

The actual exception that the Action threw is stored in the property.

Declaration
public HashDigest<SHA256>? PreviousStateRootHash { get; }
Property Value
Type Description
System.Nullable<HashDigest<SHA256>>
| Improve this Doc View Source

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 Source

GetObjectData(SerializationInfo, StreamingContext)

The exception that is thrown during an IAction is being evaluated.

The actual exception that the Action threw is stored in the property.

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium