Skip to content

Class ParserException

Definition

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

The exception that is thrown when a DocumentReader encounters invalid content.

public class ParserException : System.Exception

Inheritance
ObjectException ⇦ ParserException

Members

Constructors

Name Description
ParserException(string, Int32) The exception that is thrown when a DocumentReader encounters invalid content.

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

ParserException(string, int)

The exception that is thrown when a DocumentReader encounters invalid content.

public ParserException(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