Перейти к основному содержимому

NbtFormatException

sealed class

The exception that is thrown when a format violation is detected while NBT data is parsed or serialized.

Declaration​

public sealed class NbtFormatException : Exception
NamespaceMcProtoNet.NBT
AssemblyMcProtoNet.NBT.dll
Sourcesrc/McProtoNet.NBT/Exceptions/NbtFormatException.cs#L6 ↗

Inheritance: object → NbtFormatException

Constructors​

SignatureDescription
NbtFormatException(string message)Initializes a new instance of the NbtFormatException class with the specified error message.

NbtFormatException(string)​

public NbtFormatException(string message)

Initializes a new instance of the NbtFormatException class with the specified error message.

Parameters: message (string)