Class InvalidActionException
The Exception that is thrown when an Bencodex.Types.IValue that is supposedly a serialized IAction cannot be deserialized via an IActionLoader.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.HResult
System.Exception.StackTrace
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
[Serializable]
public sealed class InvalidActionException : Exception, ISerializable
Constructors
| Improve this Doc View SourceInvalidActionException(String, IValue, Exception)
Creates a new InvalidActionException object.
Declaration
public InvalidActionException(string message, IValue plainValue, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | Specifies an Message. |
Bencodex.Types.IValue | plainValue | The Bencodex.Types.IValue that cannot be loaded to an IAction. |
Exception | innerException | The Exception for InnerException. |
See Also
Properties
| Improve this Doc View SourcePlainValue
The Bencodex.Types.IValue that cannot be deserialized to an IAction.
Declaration
public IValue PlainValue { get; }
Property Value
Type | Description |
---|---|
Bencodex.Types.IValue |
See Also
Implements
System.Runtime.Serialization.ISerializable