Class HumlParseException

Namespace
Huml.Net.Exceptions
Assembly
Huml.Net.dll

Thrown when the HUML lexer or parser encounters invalid input.

public sealed class HumlParseException : Exception, ISerializable
Inheritance
HumlParseException
Implements
Inherited Members

Constructors

HumlParseException(string, int, int)

Initialises a new instance with an error message and source position.

public HumlParseException(string message, int line, int column)

Parameters

message string

Description of the parse error.

line int

1-based line number.

column int

0-based column.

Properties

Column

0-based column where the error was detected.

public int Column { get; }

Property Value

int

Line

1-based line number where the error was detected.

public int Line { get; }

Property Value

int