SemanticErrorException Class

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

public class SemanticErrorException : YamlException
Inheritance
YamlException SemanticErrorException

Constructors

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

SemanticErrorException overloads

SemanticErrorException()

SemanticErrorException.cs

Initializes a new instance of the SemanticErrorException class.

public SemanticErrorException()

SemanticErrorException(Mark, Mark, string)

SemanticErrorException.cs

Initializes a new instance of the SemanticErrorException class.

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

SemanticErrorException(string)

SemanticErrorException.cs

Initializes a new instance of the SemanticErrorException class.

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

SemanticErrorException(string, Exception)

SemanticErrorException.cs

Initializes a new instance of the SemanticErrorException class.

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