Table of Contents

Class TokenizerRuntimeException

Namespace
Utils.Parser.Runtime
Assembly
Utils.Parser.dll

Represents a tokenization error raised by TokenizerRuntime.

public sealed class TokenizerRuntimeException : Exception, ISerializable
Inheritance
TokenizerRuntimeException
Implements
Inherited Members
Extension Methods

Constructors

TokenizerRuntimeException(string, int)

Represents a tokenization error raised by TokenizerRuntime.

public TokenizerRuntimeException(string token, int index)

Parameters

token string

Token or character that caused the error.

index int

Position where the error occurred.

Properties

Index

Gets the index where tokenization failed.

public int Index { get; }

Property Value

int

Token

Gets the token or character that could not be recognized.

public string Token { get; }

Property Value

string