Show / Hide Table of Contents

Class InvalidBlockBytesLengthException

An exception thrown when the encoded bytes of Transactions exceeds .

Inheritance
Object
Exception
InvalidBlockException
BlockPolicyViolationException
InvalidBlockBytesLengthException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
[Serializable]
public sealed class InvalidBlockBytesLengthException : BlockPolicyViolationException, ISerializable

Constructors

| Improve this Doc View Source

InvalidBlockBytesLengthException(String, Int64)

Initializes a new instance of InvalidBlockBytesLengthException class.

Declaration
public InvalidBlockBytesLengthException(string message, long bytesLength)
Parameters
Type Name Description
String message

The message that describes the error.

Int64 bytesLength

The actual encoded length of Transactions as bytes.

Properties

| Improve this Doc View Source

BytesLength

The actual encoded length of Transactions as bytes.

Declaration
public long BytesLength { get; }
Property Value
Type Description
Int64

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

An exception thrown when the encoded bytes of Transactions exceeds .

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
Overrides
Exception.GetObjectData(SerializationInfo, StreamingContext)

Implements

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