Show / Hide Table of Contents

Class TxPolicyViolationException

An exception returned when a Transaction violates a .

Inheritance
Object
Exception
InvalidTxException
TxPolicyViolationException
Implements
ISerializable
Inherited Members
InvalidTxException.TxId
System.Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
System.Exception.HelpLink
Exception.HResult
System.Exception.InnerException
System.Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
[Serializable]
public class TxPolicyViolationException : InvalidTxException, ISerializable

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
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 Exception for System.Exception.InnerException.

| 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
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.

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium