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
messagestringDescription of the parse error.
lineint1-based line number.
columnint0-based column.
Properties
Column
0-based column where the error was detected.
public int Column { get; }
Property Value
Line
1-based line number where the error was detected.
public int Line { get; }