Class UnexpectedlyTerminatedActionException
The exception that is thrown during an IAction is being evaluated.
The actual exception that the Action threw
is stored in the
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public sealed class UnexpectedlyTerminatedActionException : Exception
Constructors
| Improve this Doc View SourceUnexpectedlyTerminatedActionException(Nullable<HashDigest<SHA256>>, Nullable<Int64>, Nullable<TxId>, IAction, String, Exception)
Creates a new UnexpectedlyTerminatedActionException object.
Declaration
public UnexpectedlyTerminatedActionException(HashDigest<SHA256>? blockHash, long? blockIndex, TxId? txid, IAction action, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
Nullable<HashDigest<SHA256>> | blockHash | The Hash of the Block<T>
that |
Nullable<Int64> | blockIndex | The Index of the Block<T>
that |
Nullable<TxId> | txid | The Id of
the Transaction<T> that |
IAction | action | The IAction object which threw an exception. |
String | message | Specifies a |
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 |
BlockHash
Declaration
public HashDigest<SHA256>? BlockHash { get; }
Property Value
Type | Description |
---|---|
Nullable<HashDigest<SHA256>> |
BlockIndex
Declaration
public long? BlockIndex { get; }
Property Value
Type | Description |
---|---|
Nullable<Int64> |
TxId
The Id of the Transaction<T> that
Action belongs to. This can be null
on rehearsal mode or
if Action is a BlockAction.
Declaration
public TxId? TxId { get; }
Property Value
Type | Description |
---|---|
Nullable<TxId> |