Skip to content

Class NbtException

Namespace: Void.Minecraft.Components.Text.Exceptions
Assembly: Void.Minecraft.dll

Represents an error raised while working with NBT-backed text content.

public class NbtException : Exception, ISerializable

Inheritance

objectExceptionNbtException

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.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

NbtException(string?)

Represents an error raised while working with NBT-backed text content.

public NbtException(string? message = null)

Parameters

message string?

The exception message, or null to use the default message.

NbtException(NbtTag?)

public NbtException(NbtTag? tag = null)

Parameters

tag NbtTag?