SyntaxErrorException Class

Exception that is thrown when a syntax error is detected on a YAML stream.

public class SyntaxErrorException : YamlException
Inheritance
YamlException SyntaxErrorException

Constructors

NameDescription
SyntaxErrorException()Initializes a new instance of the SyntaxErrorException class.
SyntaxErrorException(Mark, Mark, string)Initializes a new instance of the SyntaxErrorException class.
SyntaxErrorException(string)Initializes a new instance of the SyntaxErrorException class.
SyntaxErrorException(string, Exception)Initializes a new instance of the SyntaxErrorException class.

SyntaxErrorException overloads

SyntaxErrorException()

SyntaxErrorException.cs

Initializes a new instance of the SyntaxErrorException class.

public SyntaxErrorException()

SyntaxErrorException(Mark, Mark, string)

SyntaxErrorException.cs

Initializes a new instance of the SyntaxErrorException class.

public SyntaxErrorException(Mark start, Mark end, string message)
Parameters
start Mark
end Mark
message string

SyntaxErrorException(string)

SyntaxErrorException.cs

Initializes a new instance of the SyntaxErrorException class.

public SyntaxErrorException(string message)
Parameters
message string
The message.

SyntaxErrorException(string, Exception)

SyntaxErrorException.cs

Initializes a new instance of the SyntaxErrorException class.

public SyntaxErrorException(string message, Exception inner)
Parameters
message string
The message.
inner Exception
The inner.