Skip to main content

Component Plug-In SDK 2026 R1

Constructor SyntaxError

Last update: 19.06.2026

Namespace: Phoenix.ComponentPlugInSDK.Models
Assembly: Phoenix.ComponentPlugInSDK.dll

SyntaxError(int, string)

Constructor from line index where error was detected and descriptive reason.

public SyntaxError(int lineIndex, string reason)

Parameters

lineIndex int

Line index where error was detected.

reason string

Descriptive reason of the error.

SyntaxError(int, Exception)

Constructor from line index where error was detected and inner exception which gives reason.

public SyntaxError(int lineIndex, Exception innerException)

Parameters

lineIndex int

Line index where error was detected.

innerException Exception

Inner exception which is the cause of this error.

SyntaxError(int, string)

Constructor from line index where error was detected and descriptive reason.

public SyntaxError(int lineIndex, string reason)

Parameters

lineIndex int

Line index where error was detected.

reason string

Descriptive reason of the error.

SyntaxError(int, Exception)

Constructor from line index where error was detected and inner exception which gives reason.

public SyntaxError(int lineIndex, Exception innerException)

Parameters

lineIndex int

Line index where error was detected.

innerException Exception

Inner exception which is the cause of this error.

Connect with Ansys