Class TxPolicyViolationException
An exception returned when a Transaction violates
a
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.HResult
System.Exception.StackTrace
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
[Serializable]
public class TxPolicyViolationException : InvalidTxException, ISerializable
Constructors
| Improve this Doc View SourceTxPolicyViolationException(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 |
Exception | innerException | The Exception for InnerException. |
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 |
Implements
System.Runtime.Serialization.ISerializable