Class TxViolatingBlockPolicyException
The exception that is thrown when a Transaction<T> does not follow the block policy.
Implements
Inherited Members
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
[Serializable]
public class TxViolatingBlockPolicyException : InvalidTxException, ISerializable
Constructors
| Improve this Doc View SourceTxViolatingBlockPolicyException(TxId, String)
Creates a new TxViolatingBlockPolicyException object.
Declaration
public TxViolatingBlockPolicyException(TxId txid, string message)
Parameters
Type | Name | Description |
---|---|---|
TxId | txid | The invalid TxId. It is automatically included to the Message string. |
String | message | Specifies an Message. |