Table of Contents

Class TemplateCompilationException

Namespace
Dynamicweb.Rendering
Assembly
Dynamicweb.Core.dll
public class TemplateCompilationException : TemplateException, ISerializable
Inheritance
TemplateCompilationException
Implements
Inherited Members

Constructors

TemplateCompilationException()

public TemplateCompilationException()

TemplateCompilationException(Template, string, string, IEnumerable<TemplateCompilerError>)

public TemplateCompilationException(Template template, string message, string sourceCode, IEnumerable<TemplateCompilerError> errors)

Parameters

template Template
message string
sourceCode string
errors IEnumerable<TemplateCompilerError>

TemplateCompilationException(Template, string, string, IEnumerable<TemplateCompilerError>, Exception)

public TemplateCompilationException(Template template, string message, string sourceCode, IEnumerable<TemplateCompilerError> errors, Exception innerException)

Parameters

template Template
message string
sourceCode string
errors IEnumerable<TemplateCompilerError>
innerException Exception

TemplateCompilationException(string)

public TemplateCompilationException(string message)

Parameters

message string

TemplateCompilationException(string, Exception)

public TemplateCompilationException(string message, Exception innerException)

Parameters

message string
innerException Exception

Properties

CompilerErrors

public IReadOnlyCollection<TemplateCompilerError> CompilerErrors { get; }

Property Value

IReadOnlyCollection<TemplateCompilerError>

SourceCode

public string? SourceCode { get; set; }

Property Value

string
To top