Class UnexpectedlyTerminatedTxRehearsalException
The exception that is thrown during a Transaction<T> is being created when one of Actions throws some exception during rehearsal mode.
The actual exception that the Action threw is stored in the InnerException property.
Implements
Inherited Members
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
[Serializable]
public sealed class UnexpectedlyTerminatedTxRehearsalException : Exception, ISerializable
Constructors
| Improve this Doc View SourceUnexpectedlyTerminatedTxRehearsalException(IAction, String, Exception)
Creates a new UnexpectedlyTerminatedTxRehearsalException object with an innerException
.
Declaration
public UnexpectedlyTerminatedTxRehearsalException(IAction action, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
IAction | action | The IAction object which threw an exception. |
String | message | Specifies a Message. |
Exception | innerException | The actual exception that the Action threw. |
Properties
| Improve this Doc View SourceAction
The IAction object which threw an exception.
Declaration
public IAction Action { get; }
Property Value
Type | Description |
---|---|
IAction |