Show / Hide Table of Contents

Class TxPolicyViolationException

An exception returned when a Transaction violates a .

Inheritance
System.Object
InvalidTxException
TxPolicyViolationException
Inherited Members
InvalidTxException.TxId
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
public class TxPolicyViolationException : InvalidTxException

Constructors

| Improve this Doc View Source

TxPolicyViolationException(String, TxId, Exception)

An exception returned when a Transaction violates a .

Declaration
public TxPolicyViolationException(string message, TxId txid, Exception innerException)
Parameters
Type Name Description
System.String message

A description for the reason of violation given by an implementation of .

TxId txid

The Id of the Transaction violating a . Gets prepended to message.

Exception innerException

The for .

| Improve this Doc View Source

TxPolicyViolationException(String, TxId)

Creates a new TxPolicyViolationException instance. Use TxPolicyViolationException(String, TxId, Exception) if innerException is required.

Declaration
public TxPolicyViolationException(string message, TxId txid)
Parameters
Type Name Description
System.String message

A description for the reason of violation given by an implementation of .

TxId txid

The Id of the Transaction violating a . Gets prepended to message.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium