Skip to content

Class LexerException

Definition

Namespace: StardewUI.Framework.Grammar
Assembly: StardewUI.dll

The exception that is thrown when a Lexer fails to process the markup it is given.

public class LexerException : System.Exception

Inheritance
ObjectException ⇦ LexerException

Members

Constructors

Name Description
LexerException(string, Int32) The exception that is thrown when a Lexer fails to process the markup it is given.

Properties

Name Description
Data (Inherited from Exception)
HelpLink (Inherited from Exception)
HResult (Inherited from Exception)
InnerException (Inherited from Exception)
Message (Inherited from Exception)
Position The position within the markup text where the error was encountered.
Source (Inherited from Exception)
StackTrace (Inherited from Exception)
TargetSite (Inherited from Exception)

Methods

Name Description
GetBaseException() (Inherited from Exception)
GetObjectData(SerializationInfo, StreamingContext) (Inherited from Exception)
GetType() (Inherited from Exception)
ToString() (Inherited from Exception)

Events

Name Description
SerializeObjectState (Inherited from Exception)

Details

Constructors

LexerException(string, int)

The exception that is thrown when a Lexer fails to process the markup it is given.

public LexerException(string message, int position);
Parameters

message   string
The message that describes the error.

position   Int32
The position within the markup text where the error was encountered.


Properties

Position

The position within the markup text where the error was encountered.

public int Position { get; }
Property Value

Int32