Class TxPolicyViolationException
An exception returned when a Transaction<T> violates a IBlockPolicy<T>.
Inherited Members
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
public class TxPolicyViolationException : InvalidTxException
Constructors
| Improve this Doc View SourceTxPolicyViolationException(TxId, String)
Creates a new TxPolicyViolationException instance.
Declaration
public TxPolicyViolationException(TxId txid, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| TxId | txid | The Id of the
Transaction<T> violating a IBlockPolicy<T>.
Gets prepended to |
| String | message | A description for the reason of violation given by an implementation of IBlockPolicy<T>. |